diff options
author | joerg <joerg@pkgsrc.org> | 2013-10-20 18:09:05 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-10-20 18:09:05 +0000 |
commit | b7361d30f411955907763201b71d95f234d2ab4a (patch) | |
tree | 7a1141608e659703567dfa29d9862b866cf2aa5f /geography/libdrg | |
parent | aaf3dca87695ea2c2270bc40e33ed3776edc33a3 (diff) | |
download | pkgsrc-b7361d30f411955907763201b71d95f234d2ab4a.tar.gz |
Prefix rpath option with -Wl.
Diffstat (limited to 'geography/libdrg')
-rw-r--r-- | geography/libdrg/distinfo | 3 | ||||
-rw-r--r-- | geography/libdrg/patches/patch-configure | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/geography/libdrg/distinfo b/geography/libdrg/distinfo index 3d271fdcd10..55b1dff6a34 100644 --- a/geography/libdrg/distinfo +++ b/geography/libdrg/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.2 2012/10/26 20:41:00 joerg Exp $ +$NetBSD: distinfo,v 1.3 2013/10/20 18:09:05 joerg Exp $ SHA1 (libdrg-0.0.81.tar.gz) = 48e45c91710adce23e6cf41a8c5d0368681db1a6 RMD160 (libdrg-0.0.81.tar.gz) = 2fb8b5fee6464ec47c2ada9f474304003edfee6c Size (libdrg-0.0.81.tar.gz) = 320228 bytes +SHA1 (patch-configure) = a6a1841826756c6d6fe2964076216f9e265a5ccc SHA1 (patch-drg__tiff.c) = a8ea12efaef2b03c5754752f58c785fb049535b1 diff --git a/geography/libdrg/patches/patch-configure b/geography/libdrg/patches/patch-configure new file mode 100644 index 00000000000..58184b86ae2 --- /dev/null +++ b/geography/libdrg/patches/patch-configure @@ -0,0 +1,16 @@ +$NetBSD: patch-configure,v 1.1 2013/10/20 18:09:05 joerg Exp $ + +--- configure.orig 2013-10-20 15:29:48.000000000 +0000 ++++ configure +@@ -19268,9 +19268,8 @@ _ACEOF + fi + + +-LDFLAGS="-L/usr/local/lib -R/usr/local/lib $LDFLAGS" +-LDFLAGS="-L/usr/pkg/lib -R/usr/pkg/lib $LDFLAGS" +-CPPFLAGS="-I/usr/local/include -I/usr/pkg/include $CPPFLAGS" ++LDFLAGS="-L${PREFIX}/lib ${COMPILER_RPATH_FLAG}${PREFIX}/lib $LDFLAGS" ++CPPFLAGS="-I${PREFIX}/include $CPPFLAGS" + + + { echo "$as_me:$LINENO: checking for TIFFOpen in -ltiff" >&5 |