summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2000-06-27 03:18:03 +0000
committerhubertf <hubertf@pkgsrc.org>2000-06-27 03:18:03 +0000
commit460be0b680694e127628f5c0cf5da0e61dee824e (patch)
treef1e047fb5b23c04cb1ee537fd5d7e4c40cf70622 /graphics
parent740d77fae4b1f2a75cd983c8a6a16c2e165433ba (diff)
downloadpkgsrc-460be0b680694e127628f5c0cf5da0e61dee824e.tar.gz
fix ELF lib paths
Diffstat (limited to 'graphics')
-rw-r--r--graphics/libggi/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/graphics/libggi/Makefile b/graphics/libggi/Makefile
index 4e68246dd1a..cf2fde6da1a 100644
--- a/graphics/libggi/Makefile
+++ b/graphics/libggi/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2000/04/16 16:54:54 mycroft Exp $
+# $NetBSD: Makefile,v 1.6 2000/06/27 03:18:03 hubertf Exp $
#
DISTNAME= libggi-2.0b2.1
@@ -15,11 +15,19 @@ DEPENDS+= libgii-0.6:../libgii
GNU_CONFIGURE= YES
CONFIGURE_ARGS+=--disable-debug \
--with-x \
- --with-extra-includes=${LOCALBASE}/include
+ --with-extra-includes=${LOCALBASE}/include \
+ --with-extra-libs=${X11BASE}/lib
pre-configure:
cd ${WRKSRC}; autoconf
+post-configure:
+ cd ${WRKSRC}; \
+ [ -f configure.BAK ] || cp configure configure.BAK; \
+ ${SED} \
+ -e '/lib/s@-L\([a-zA-Z$/_]*\)@-Wl,-R\1 -L\1@g' \
+ <configure.BAK >configure
+
post-install:
cd ${PREFIX}/man/man3 ; for i in *.3ggi ; do \
${MV} $$i `basename $$i .3ggi`.3 ; \