From 84712b99b553e72426b98687db4bae4afbe530ca Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 25 Mar 2016 21:13:51 +0000 Subject: Needs _KERNTYPES on NetBSD. --- filesystems/ori/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3