diff options
author | rillig <rillig@pkgsrc.org> | 2007-10-01 11:59:59 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-10-01 11:59:59 +0000 |
commit | ddf6f5db349d779b5525738a6af8e9296f63ac72 (patch) | |
tree | a9ff6342393971c68eb600267110d7c2f8f2f13e | |
parent | bdf7f596d0926d70633f31311896752f35578fe0 (diff) | |
download | pkgsrc-ddf6f5db349d779b5525738a6af8e9296f63ac72.tar.gz |
After a few more tries, it finally worked. The features framework isn't
as easy to use as I first thought.
-rw-r--r-- | x11/xmindpath/Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/x11/xmindpath/Makefile b/x11/xmindpath/Makefile index 6ce75d6420d..89461c35aa6 100644 --- a/x11/xmindpath/Makefile +++ b/x11/xmindpath/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2007/10/01 11:09:09 rillig Exp $ +# $NetBSD: Makefile,v 1.13 2007/10/01 11:59:59 rillig Exp $ DISTNAME= magicpoint-1.09a PKGNAME= xmindpath-1.09a @@ -13,6 +13,17 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/contrib/xmindpath GNU_CONFIGURE= yes USE_FEATURES= err +.include "../../mk/bsd.prefs.mk" + +.if !empty(MISSING_FEATURES:Merr) +pre-build: + cd ${BUILDLINK_DIR}/include && \ + { echo "#include <nbcompat/cdefs.h>"; \ + echo "#include <stdarg.h>"; \ + echo "#include <nbcompat/err.h>"; \ + } > err.h +.endif + BUILDLINK_DEPMETHOD.libXt?= build .include "../../x11/libSM/buildlink3.mk" |