aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-06-03 08:49:42 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-06-03 09:00:24 +0000
commit8fe3c07f1ffb1d9f1e5156c3433937549f423564 (patch)
tree643a24015928ba373e018478ce4b2c491e8ac9d3
parent1f457564d629690505c1476f614dd9f3de9e1984 (diff)
downloadports-8fe3c07f1ffb1d9f1e5156c3433937549f423564.tar.gz
ports-8fe3c07f1ffb1d9f1e5156c3433937549f423564.zip
graphics/gdal: Allow build with old version installed
Tested with GDAL 3.0.3 or 3.4.3 installed.
-rw-r--r--graphics/gdal/Makefile2
1 files changed, 1 insertions, 1 deletions
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