summaryrefslogtreecommitdiff
path: root/www/w3m
diff options
context:
space:
mode:
authorsakamoto <sakamoto@pkgsrc.org>1999-09-28 07:20:08 +0000
committersakamoto <sakamoto@pkgsrc.org>1999-09-28 07:20:08 +0000
commitd57bc8e1daa4df8ea5c06fb8d131275a41ed7ba9 (patch)
tree9bead0ccb94e15a483da3152d4b3c23293aa50b3 /www/w3m
parent9ca1c0bbd9751c80da64ff553f45b49edadeedb6 (diff)
downloadpkgsrc-d57bc8e1daa4df8ea5c06fb8d131275a41ed7ba9.tar.gz
Use devel/boehm-gc instead of w3m/gc,
suggested by Frederick Bruckman <fb@enteract.com>.
Diffstat (limited to 'www/w3m')
-rw-r--r--www/w3m/Makefile15
1 files changed, 14 insertions, 1 deletions
diff --git a/www/w3m/Makefile b/www/w3m/Makefile
index 509db701512..79978215be9 100644
--- a/www/w3m/Makefile
+++ b/www/w3m/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 1999/09/27 11:17:49 agc Exp $
+# $NetBSD: Makefile,v 1.3 1999/09/28 07:20:08 sakamoto Exp $
DISTNAME= w3m-990902
PKGNAME= w3m-19990902
@@ -10,6 +10,12 @@ HOMEPAGE= http://ei5nazha.yz.yamagata-u.ac.jp/~aito/w3m/
DEPENDS= boehm-gc-5.0a3:../../devel/boehm-gc
+.if defined(EXTRACT_USING_PAX)
+EXTRACT_ELEMENTS= -c w3m/gc\*
+.else
+EXTRACT_ELEMENTS= --exclude w3m/gc\*
+.endif
+
WRKSRC= ${WRKDIR}/w3m
HELPDIR= share/doc/w3m
@@ -46,6 +52,13 @@ CONFIGURE_ENV+= editor=vi mailer=Mail dbrowser=
CONFIGURE_ENV+= cc="${CC}" termlib="-ltermcap"
CONFIGURE_ENV+= dldflags="-Wl,-rpath,${LOCALBASE}/lib -L${LOCALBASE}/lib"
+pre-build:
+ @(cd ${WRKSRC}; \
+ ${MAKE} XXMakefile; \
+ ${MV} XXMakefile XXMakefile.gen; \
+ ${SED} -e '/^GCLIB/s|gc/gc.a|-lgc|' -e '/^GCTARGET/s|gc/gc.a||' \
+ XXMakefile.gen > XXMakefile)
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/w3m ${LOCALBASE}/bin
${INSTALL_MAN} ${WRKSRC}/doc/w3m.1 ${LOCALBASE}/man/man1