Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jun 2022 09:03:57 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8fe3c07f1ffb - main - graphics/gdal: Allow build with old version installed
Message-ID:  <202206030903.25393vVL089123@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202206030903.25393vVL089123>