summaryrefslogtreecommitdiff
path: root/devel/ucpp/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-03-26 17:14:32 +0000
committerjoerg <joerg@pkgsrc.org>2009-03-26 17:14:32 +0000
commit051f86d11d9c59ee96b6ce1efab2732daa844ad7 (patch)
tree421dfc45d1e7ebd02ef6a370180ceb7c6ce60e60 /devel/ucpp/Makefile
parentb37492718b0cf1141ec1637e4c6adaff0d8dadea (diff)
downloadpkgsrc-051f86d11d9c59ee96b6ce1efab2732daa844ad7.tar.gz
Make ucpp actually buildable.
Diffstat (limited to 'devel/ucpp/Makefile')
-rw-r--r--devel/ucpp/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/devel/ucpp/Makefile b/devel/ucpp/Makefile
index 74d2e945d85..a0cfc867992 100644
--- a/devel/ucpp/Makefile
+++ b/devel/ucpp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2009/03/21 16:41:06 darcy Exp $
+# $NetBSD: Makefile,v 1.6 2009/03/26 17:14:32 joerg Exp $
#
DISTNAME= ucpp-1.3
@@ -14,6 +14,11 @@ PKG_DESTDIR_SUPPORT= user-destdir
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+.include "../../mk/bsd.prefs.mk"
+
+CFLAGS+= -DSTD_MACROS=NULL -DSTD_ASSERT=NULL
+MAKE_FLAGS+= FLAGS=${CFLAGS:Q}
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ucpp ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/ucpp.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1