diff options
author | wiz <wiz> | 2014-01-08 21:47:55 +0000 |
---|---|---|
committer | wiz <wiz> | 2014-01-08 21:47:55 +0000 |
commit | 251e36a7a6905c678a2dcced3201e2933229eca3 (patch) | |
tree | 2829ebc77ed4d773a988b7f8c58a5ce113521dac | |
parent | cc9a8d3b7bc744b2e1d3c6521e69cbd17032ddf5 (diff) | |
download | pkgsrc-251e36a7a6905c678a2dcced3201e2933229eca3.tar.gz |
Fix packaging on Solaris, from Kai-Uwe Eckhardt in private mail.
-rw-r--r-- | devel/dmake/Makefile | 17 | ||||
-rw-r--r-- | devel/dmake/PLIST | 4 |
2 files changed, 13 insertions, 8 deletions
diff --git a/devel/dmake/Makefile b/devel/dmake/Makefile index 5bc88ea7751..cc2178ffc3f 100644 --- a/devel/dmake/Makefile +++ b/devel/dmake/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2014/01/01 14:22:30 wiz Exp $ +# $NetBSD: Makefile,v 1.16 2014/01/08 21:47:55 wiz Exp $ DISTNAME= dmake-4.12.2 CATEGORIES= devel @@ -10,14 +10,19 @@ HOMEPAGE= http://code.google.com/a/apache-extras.org/p/dmake COMMENT= Portable make supported by many platforms LICENSE= gnu-gpl-v1 +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --datarootdir=${PREFIX}/share/dmake -GNU_CONFIGURE= yes - -TEST_TARGET= check - +TEST_TARGET= check INSTALLATION_DIRS= bin share/dmake ${PKGMANDIR}/man1 -CONFIGURE_ARGS+= --datarootdir=${PREFIX}/share/dmake +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "SunOS" +PLIST_SUBST+= STARTUPOS=solaris +.else +PLIST_SUBST+= STARTUPOS=linux +.endif pre-test: ${SH} -c 'for a in 1 2 3 4 5 6 7 8 9 10 11 12;\ diff --git a/devel/dmake/PLIST b/devel/dmake/PLIST index 36597e9284a..59bfa4b8690 100644 --- a/devel/dmake/PLIST +++ b/devel/dmake/PLIST @@ -1,8 +1,8 @@ -@comment $NetBSD: PLIST,v 1.4 2013/12/31 18:05:55 wiz Exp $ +@comment $NetBSD: PLIST,v 1.5 2014/01/08 21:47:55 wiz Exp $ bin/dmake man/man1/dmake.1 share/dmake/startup/config.mk share/dmake/startup/startup.mk -share/dmake/startup/unix/linux/macros.mk +share/dmake/startup/unix/${STARTUPOS}/macros.mk share/dmake/startup/unix/macros.mk share/dmake/startup/unix/recipes.mk |