summaryrefslogtreecommitdiff
path: root/devel/boehm-gc/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-05-04 01:28:14 +0000
committerjlam <jlam@pkgsrc.org>2001-05-04 01:28:14 +0000
commitdb2bbbf859f83930393d040095f20d077f5fdece (patch)
treef34a1312ed5ae88ff6c47cfe99914fd4442a4dc5 /devel/boehm-gc/Makefile
parentdd9d79d0583af73350b9e3b9294127f256b26d6a (diff)
downloadpkgsrc-db2bbbf859f83930393d040095f20d077f5fdece.tar.gz
Deal with "unix no longer predefined" warning. Modify Makefile so we don't
need to pass in various variables through MAKE_ENV, and honor CFLAGS passed in from environment during build.
Diffstat (limited to 'devel/boehm-gc/Makefile')
-rw-r--r--devel/boehm-gc/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/devel/boehm-gc/Makefile b/devel/boehm-gc/Makefile
index 526244c3424..bfe07e7be20 100644
--- a/devel/boehm-gc/Makefile
+++ b/devel/boehm-gc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2001/02/16 14:38:19 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2001/05/04 01:28:14 jlam Exp $
# FreeBSD Id: Makefile,v 1.1 1996/11/16 01:51:25 jdp Exp
#
@@ -14,13 +14,13 @@ COMMENT= Garbage collection and memory leak detection for C and C++
USE_GMAKE= # defined
WRKSRC= ${WRKDIR}/gc
-MAKE_ENV+= CP="${CP}" INSTALL_DATA="${INSTALL_DATA}" \
- INSTALL_MAN="${INSTALL_MAN}"
+MAKE_ENV+= COPTS="${CFLAGS}"
ALL_TARGET= BSD-pkg-all
INSTALL_TARGET= BSD-pkg-install
.include "../../mk/bsd.prefs.mk"
+
.if defined(EXTRACT_USING_PAX)
EXTRACT_ELEMENTS= -u
.endif
@@ -33,7 +33,7 @@ post-extract:
${MV} ${WRKSRC}/gc.man ${WRKSRC}/gc.man.in
pre-build:
- ${SED} -e "s,@PREFIX@,${PREFIX},g" ${WRKSRC}/gc.man.in \
- > ${WRKSRC}/gc.man
+ ${SED} -e "s|@PREFIX@|${PREFIX}|g" \
+ ${WRKSRC}/gc.man.in > ${WRKSRC}/gc.man
.include "../../mk/bsd.pkg.mk"