summaryrefslogtreecommitdiff
path: root/filesystems
diff options
context:
space:
mode:
authorjoerg <joerg>2016-03-25 21:13:51 +0000
committerjoerg <joerg>2016-03-25 21:13:51 +0000
commit84712b99b553e72426b98687db4bae4afbe530ca (patch)
tree9bb5a50e7102d6f4784827b342dfe7e46e8a4618 /filesystems
parent22fececeb5bb7035e9ce95e69bd71f9a64c331bb (diff)
downloadpkgsrc-84712b99b553e72426b98687db4bae4afbe530ca.tar.gz
Needs _KERNTYPES on NetBSD.
Diffstat (limited to 'filesystems')
-rw-r--r--filesystems/ori/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/filesystems/ori/Makefile b/filesystems/ori/Makefile
index aff422a3591..53c32b6e9c5 100644
--- a/filesystems/ori/Makefile
+++ b/filesystems/ori/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2016/03/05 11:28:29 jperkin Exp $
+# $NetBSD: Makefile,v 1.5 2016/03/25 21:13:51 joerg Exp $
DISTNAME= ori-0.8.1
PKGREVISION= 2
@@ -22,6 +22,13 @@ SUBST_FILES.man+= SConstruct
SUBST_STAGE.man= pre-build
SUBST_MESSAGE.man= Fixing man page installation path.
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+_WRAP_EXTRA_ARGS.CXX+= -D_KERNTYPES
+CWRAPPERS_APPEND.cxx+= -D_KERNTYPES
+.endif
+
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/scons