diff options
author | hubertf <hubertf> | 2000-06-27 03:18:03 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2000-06-27 03:18:03 +0000 |
commit | 9c2141750687f06a1619aa840392f6b4f25ce26d (patch) | |
tree | f1e047fb5b23c04cb1ee537fd5d7e4c40cf70622 /graphics | |
parent | 492ac98c530c713b1e7b0a6d1c796f815b109f30 (diff) | |
download | pkgsrc-9c2141750687f06a1619aa840392f6b4f25ce26d.tar.gz |
fix ELF lib paths
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/libggi/Makefile | 12 |
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 ; \ |