diff options
author | wiz <wiz> | 2003-03-21 22:57:34 +0000 |
---|---|---|
committer | wiz <wiz> | 2003-03-21 22:57:34 +0000 |
commit | e400d35fed250e8c66987d56089787f54e6fdfbd (patch) | |
tree | de693a69a3f315578e804a53044de6516cf90b3d /lang/twelf | |
parent | b284354e92ed67211818a84111640262241cc37c (diff) | |
download | pkgsrc-e400d35fed250e8c66987d56089787f54e6fdfbd.tar.gz |
Use smlnj's Makefile.common for platform support checks.
Diffstat (limited to 'lang/twelf')
-rw-r--r-- | lang/twelf/Makefile | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/lang/twelf/Makefile b/lang/twelf/Makefile index a0c05542a0b..eb48c04890a 100644 --- a/lang/twelf/Makefile +++ b/lang/twelf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2003/03/21 22:23:01 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2003/03/21 22:57:34 wiz Exp $ # DISTNAME= twelf-1-4 @@ -28,27 +28,7 @@ TWELF_EMACSDIR= ${EMACS_LISPPREFIX}/twelf TWELF_DOCDIR= ${PREFIX}/share/doc/twelf TWELF_EXAMPLEDIR= ${PREFIX}/share/examples/twelf -# -# Everything up until "post-extract" is taken from lang/smlnj/Makefile. -# There ought to be a buildlink2.mk for SML/NJ instead, since every -# SML/NJ-built package will require this kind of PLIST handling. -# - -.include "../../mk/bsd.prefs.mk" - -.if ${OPSYS} == "SunOS" -OS= ${LOWER_OPSYS} -.elif ${OPSYS} == "NetBSD" -OS= bsd -.endif - -.if ${MACHINE_ARCH} == "sparc" -BOX= sparc -.elif ${MACHINE_ARCH} == "i386" -BOX= x86 -.endif - -PLIST_SUBST+= BOX=${BOX} OS=${OS} +.include "../../lang/smlnj/Makefile.common" post-extract: ${CHMOD} -R +r ${WRKSRC} |