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.
This commit is contained in:
dholland 2011-06-19 02:30:17 +00:00
parent 4a689f79bb
commit deaa716108

View file

@ -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}