"NO_CONFIGURE" isn't correct, setting PREFIX is configure step.

This commit is contained in:
Aleksej Saushev 2013-11-15 19:16:38 +00:00 committed by Thomas Klausner
parent 585758513f
commit d456950aff

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 2013/11/15 19:14:24 asau Exp $
# $NetBSD: Makefile,v 1.7 2013/11/15 19:16:38 asau Exp $
#
DISTNAME= xombrero-1.3.1
@ -16,7 +16,6 @@ ONLY_FOR_PLATFORM= DragonFly-*-* NetBSD-*-*
FETCH_USING= curl
NO_CONFIGURE= yes
USE_TOOLS+= perl pkg-config
.include "../../mk/bsd.prefs.mk"
@ -31,7 +30,7 @@ BUILD_DIRS= netbsd
# the path for the default config file is
# hardcoded as /usr/local/ in xombrero.h
post-extract:
do-configure:
cd ${WRKSRC} && \
sed -e "s#\\/usr\\/local#${PREFIX}#" xombrero.h \
> xombrero.h.new && mv xombrero.h.new xombrero.h