summaryrefslogtreecommitdiff
path: root/databases/couchdb
diff options
context:
space:
mode:
authordholland <dholland>2011-06-19 02:30:17 +0000
committerdholland <dholland>2011-06-19 02:30:17 +0000
commitce16d99a616c5412c6d1381b44b20e54f8a1410c (patch)
tree4da344996ec875007d9679d6c4c17a1a13fe4582 /databases/couchdb
parentfeeefddcee0f60d6d4828efde9c956a7e4cd4f95 (diff)
downloadpkgsrc-ce16d99a616c5412c6d1381b44b20e54f8a1410c.tar.gz
Work around broken build caused by libtool abuse: it uses automake's
INSTALL_PROGRAM on a script, which tries to strip the script and chokes. So substitute the -s out.
Diffstat (limited to 'databases/couchdb')
-rw-r--r--databases/couchdb/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/databases/couchdb/Makefile b/databases/couchdb/Makefile
index a339a3fc799..125a50a98e7 100644
--- a/databases/couchdb/Makefile
+++ b/databases/couchdb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2011/06/10 09:39:50 obache Exp $
+# $NetBSD: Makefile,v 1.5 2011/06/19 02:30:17 dholland Exp $
#
DISTNAME= apache-couchdb-1.0.1
@@ -77,6 +77,12 @@ SUBST_SED.paths= -e 's,@EGDIR@,${COUCH_EGDIR},g'
SUBST_SED.paths+= -e 's,@RUNDIR@,${COUCH_RUNDIR},g'
SUBST_SED.paths+= -e 's,@ERLANG_PREFIX@,${BUILDLINK_PREFIX.erlang},g'
+SUBST_CLASSES+= unstrip
+SUBST_MESSAGE.unstrip= Avoiding trying to strip a shell script
+SUBST_STAGE.unstrip= post-configure
+SUBST_FILES.unstrip+= src/couchdb/priv/Makefile
+SUBST_SED.unstrip= -e '/^INSTALL_PROGRAM =/s,-s,,'
+
PLIST_SUBST+= VERSION.ibrowse=${VERSION.ibrowse}
PLIST_SUBST+= VERSION.mochiweb=${VERSION.mochiweb}