diff options
author | rillig <rillig> | 2006-06-17 16:50:27 +0000 |
---|---|---|
committer | rillig <rillig> | 2006-06-17 16:50:27 +0000 |
commit | 06b2c4eb9e9ee7c1e2acdeed30bd1bffec38ccfb (patch) | |
tree | 8eb2b1ad165b42aec263709b16f790d4776687e2 /devel/nbitools | |
parent | c4f8f566f0d1e9eb4a6f81f7771563c66d903841 (diff) | |
download | pkgsrc-06b2c4eb9e9ee7c1e2acdeed30bd1bffec38ccfb.tar.gz |
Fixed some pkglint warnings.
Diffstat (limited to 'devel/nbitools')
-rw-r--r-- | devel/nbitools/Makefile | 16 | ||||
-rw-r--r-- | devel/nbitools/buildlink3.mk | 9 |
2 files changed, 12 insertions, 13 deletions
diff --git a/devel/nbitools/Makefile b/devel/nbitools/Makefile index be585297225..062edc1b7d3 100644 --- a/devel/nbitools/Makefile +++ b/devel/nbitools/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2005/12/02 22:59:40 joerg Exp $ +# $NetBSD: Makefile,v 1.11 2006/06/17 16:50:27 rillig Exp $ # DISTNAME= nbitools-R6.3 @@ -23,13 +23,13 @@ MAKE_ENV+= GCCCMD=gcc USE_TOOLS+= gmake .endif -post-extract: - @${CP} ${FILESDIR}/DragonFly.cf ${WRKSRC}/config/cf - +SUBST_CLASSES+= nbi +SUBST_STAGE.nbi= pre-configure +SUBST_MESSAGE.nbi= Fixing definition of ProjectRoot. +SUBST_FILES.nbi= config/cf/site.def +SUBST_SED.nbi= -e 's|^\(\#define[ \t]*ProjectRoot\).*|\1 ${PREFIX}|' -post-patch: - @${MV} ${WRKSRC}/config/cf/site.def ${WRKSRC}/config/cf/site.def.orig - @${SED} -e 's|^\(\#define[ \t]*ProjectRoot\).*|\1 ${PREFIX}|' \ - ${WRKSRC}/config/cf/site.def.orig > ${WRKSRC}/config/cf/site.def +post-extract: + ${CP} ${FILESDIR}/DragonFly.cf ${WRKSRC}/config/cf .include "../../mk/bsd.pkg.mk" diff --git a/devel/nbitools/buildlink3.mk b/devel/nbitools/buildlink3.mk index 7a3cc183b59..09979bbe32d 100644 --- a/devel/nbitools/buildlink3.mk +++ b/devel/nbitools/buildlink3.mk @@ -1,10 +1,8 @@ -# $NetBSD: buildlink3.mk,v 1.6 2006/04/12 10:27:12 rillig Exp $ +# $NetBSD: buildlink3.mk,v 1.7 2006/06/17 16:50:27 rillig Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ NBITOOLS_BUILDLINK3_MK:= ${NBITOOLS_BUILDLINK3_MK}+ -.include "../../mk/bsd.prefs.mk" - .if !empty(BUILDLINK_DEPTH:M+) BUILDLINK_DEPENDS+= nbitools .endif @@ -21,9 +19,10 @@ BUILDLINK_FILES.nbitools+= lib/itools/X11/config/* XMKMF_CMD= ${BUILDLINK_PREFIX.nbitools}/libexec/itools/xmkmf -.if ${OPSYS} == "Linux" +. include "../../mk/bsd.prefs.mk" +. if ${OPSYS} == "Linux" USE_TOOLS+= gmake -.endif +. endif .endif # NBITOOLS_BUILDLINK3_MK |