diff options
author | cjep <cjep@pkgsrc.org> | 2003-01-05 12:43:01 +0000 |
---|---|---|
committer | cjep <cjep@pkgsrc.org> | 2003-01-05 12:43:01 +0000 |
commit | 70e7319e9fc3f095459be4425d758e17f0003276 (patch) | |
tree | 87c43c5df2fdd350ea4e21f229604fd72aa35402 /math/gap | |
parent | cfe074ac8e684d85974bb75caa920ff3528fc6d5 (diff) | |
download | pkgsrc-70e7319e9fc3f095459be4425d758e17f0003276.tar.gz |
Work around for PLISTs so that the install machinery should now work on SunOS
Diffstat (limited to 'math/gap')
-rw-r--r-- | math/gap/Makefile | 12 | ||||
-rw-r--r-- | math/gap/PLIST | 8 | ||||
-rw-r--r-- | math/gap/gap.package.mk | 12 |
3 files changed, 24 insertions, 8 deletions
diff --git a/math/gap/Makefile b/math/gap/Makefile index f199c7f0d1a..b2961c33e83 100644 --- a/math/gap/Makefile +++ b/math/gap/Makefile @@ -1,12 +1,13 @@ -# $NetBSD: Makefile,v 1.8 2003/01/04 23:49:56 cjep Exp $ +# $NetBSD: Makefile,v 1.9 2003/01/05 12:43:01 cjep Exp $ # DISTNAME= gap4r3 PKGNAME= gap-4.3 -PKGREVISION= 5 +PKGREVISION= 6 CATEGORIES= math MASTER_SITES= ftp://ftp-gap.dcs.st-and.ac.uk/pub/gap/gap4/ \ ftp://ftp.math.rwth-aachen.de/pub/gap4/ \ + ftp://pell.anu.edu.au/pub/algebra/gap4/ \ ftp://ftp.ccs.neu.edu/pub/mirrors/ftp-gap.dcs.st-and.ac.uk/pub/gap/gap4/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ fix4r3n4.tar.gz @@ -27,6 +28,13 @@ ALL_TARGET= default GAP_DIRECTORY= ${PREFIX}/lib/gap4.3 GAP_PLATFORM= ${MACHINE_GNU_PLATFORM}-cc +.include "../../mk/bsd.prefs.mk" +.if ${OPSYS} == SunOS +GAP_PLATFORM= ${MACHINE_GNU_PLATFORM}2-${CC} +.endif + +PLIST_SUBST= GAP_PLATFORM=${GAP_PLATFORM} + post-extract: ( cd ${WRKSRC} && ${GTAR} zxf ${DISTDIR}/fix4r3n4.tar.gz ) diff --git a/math/gap/PLIST b/math/gap/PLIST index 9f292649ebe..ab393ae3d0f 100644 --- a/math/gap/PLIST +++ b/math/gap/PLIST @@ -1,7 +1,7 @@ -@comment $NetBSD: PLIST,v 1.6 2002/12/31 18:40:43 cjep Exp $ +@comment $NetBSD: PLIST,v 1.7 2003/01/05 12:43:01 cjep Exp $ bin/gap -lib/gap4.3/bin/${MACHINE_GNU_PLATFORM}-cc/gac -lib/gap4.3/bin/${MACHINE_GNU_PLATFORM}-cc/gap +lib/gap4.3/bin/${GAP_PLATFORM}/gac +lib/gap4.3/bin/${GAP_PLATFORM}/gap lib/gap4.3/cnf/Makefile lib/gap4.3/cnf/Makegap.bottom lib/gap4.3/cnf/Makegap.in @@ -4310,6 +4310,6 @@ lib/gap4.3/tst/zmodnz.tst @dirrm lib/gap4.3/doc/ext @dirrm lib/gap4.3/doc @dirrm lib/gap4.3/cnf -@dirrm lib/gap4.3/bin/${MACHINE_GNU_PLATFORM}-cc +@dirrm lib/gap4.3/bin/${GAP_PLATFORM}-cc @dirrm lib/gap4.3/bin @dirrm lib/gap4.3 diff --git a/math/gap/gap.package.mk b/math/gap/gap.package.mk index 03639997c03..6f3fd7d49a9 100644 --- a/math/gap/gap.package.mk +++ b/math/gap/gap.package.mk @@ -1,12 +1,20 @@ -# $NetBSD: gap.package.mk,v 1.6 2002/12/31 13:02:33 cjep Exp $ +# $NetBSD: gap.package.mk,v 1.7 2003/01/05 12:43:01 cjep Exp $ # # Set GAP_PKG_NAME in your Makefile. More may appear here later. # Note that between nb1 == bug fix 3 and nb2 == bug fix 4 there are # some interface changes -DEPENDS+= gap>=4.3nb5:../../math/gap +DEPENDS+= gap>=4.3nb6:../../math/gap GAP_DIRECTORY= ${LOCALBASE}/lib/gap4.3 GAP_PKG_ROOT= ${GAP_DIRECTORY}/pkg GAP_PKG_DIRECTORY= ${GAP_PKG_ROOT}/${GAP_PKG_NAME} GAP_PLATFORM= ${MACHINE_GNU_PLATFORM}-cc + +.include "../../mk/bsd.prefs.mk" +.if ${OPSYS} == SunOS +GAP_PLATFORM= ${MACHINE_GNU_PLATFORM}2-${CC} +.endif + +PLIST_SUBST= GAP_PLATFORM=${GAP_PLATFORM} + |