git: 8fe3c07f1ffb - main - graphics/gdal: Allow build with old version installed
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 03 Jun 2022 09:03:57 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=8fe3c07f1ffb1d9f1e5156c3433937549f423564 commit 8fe3c07f1ffb1d9f1e5156c3433937549f423564 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-06-03 08:49:42 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-06-03 09:00:24 +0000 graphics/gdal: Allow build with old version installed Tested with GDAL 3.0.3 or 3.4.3 installed. --- graphics/gdal/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphics/gdal/Makefile b/graphics/gdal/Makefile index 260f837176cf..364f60cb73ea 100644 --- a/graphics/gdal/Makefile +++ b/graphics/gdal/Makefile @@ -48,7 +48,7 @@ CONFIGURE_ARGS= --datadir=${PREFIX}/share \ --without-libtool \ ${ICONV_CONFIGURE_ARG} GNU_CONFIGURE= yes -LDFLAGS+= ${ICONV_LIB} +LDFLAGS+= -L${WRKSRC} ${ICONV_LIB} MAKEFILE= GNUmakefile USE_CXXSTD= c++17 USE_LDCONFIG= yes