summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2003-11-08 00:54:22 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2003-11-08 00:54:22 +0000
commit78972860f4e6fce0fdbce773bddadde85acaef6f (patch)
treef1a3f3b6ab2e1b6b622e0eadd995bba712d06685 /cad
parent295e05d4b0566f0a98690df71edc222408b869aa (diff)
downloadpkgsrc-78972860f4e6fce0fdbce773bddadde85acaef6f.tar.gz
create a 'pkgsrc' type system in the gnucap build system and call that
rather than using LOWER_OPSYS. This is because the couple of os's that had correct targets were the same and others that pkgsrc works on aren't listed at all (like solaris). Fixes build problems noted on solaris.
Diffstat (limited to 'cad')
-rw-r--r--cad/gnucap/Makefile6
-rw-r--r--cad/gnucap/distinfo4
-rw-r--r--cad/gnucap/patches/patch-ac16
-rw-r--r--cad/gnucap/patches/patch-ad16
4 files changed, 38 insertions, 4 deletions
diff --git a/cad/gnucap/Makefile b/cad/gnucap/Makefile
index 16291b88e9e..f60b2a0858a 100644
--- a/cad/gnucap/Makefile
+++ b/cad/gnucap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2003/07/21 16:32:11 martti Exp $
+# $NetBSD: Makefile,v 1.7 2003/11/08 00:54:22 dmcmahill Exp $
#
DISTNAME= gnucap-0.33
@@ -14,8 +14,8 @@ USE_GMAKE= YES
USE_GNU_READLINE= YES
do-build:
- @cd ${WRKSRC}/modelgen && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${LOWER_OPSYS}
- @cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${LOWER_OPSYS}
+ @cd ${WRKSRC}/modelgen && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} pkgsrc
+ @cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} pkgsrc
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/*/gnucap ${PREFIX}/bin/
diff --git a/cad/gnucap/distinfo b/cad/gnucap/distinfo
index 92fff048aba..8345c93017b 100644
--- a/cad/gnucap/distinfo
+++ b/cad/gnucap/distinfo
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.3 2003/04/21 03:06:29 dmcmahill Exp $
+$NetBSD: distinfo,v 1.4 2003/11/08 00:54:22 dmcmahill Exp $
SHA1 (gnucap-0.33.tar.gz) = 67fe6ccc4e16807d842c5f0377b66a16c2904edf
Size (gnucap-0.33.tar.gz) = 1387565 bytes
SHA1 (patch-aa) = 404d6f926f4985a7d117e1361e9c2c9cabd6323b
SHA1 (patch-ab) = 519cd313b023be49ee19018d4eb88697fcb739e3
+SHA1 (patch-ac) = b87c6eb33b427a154b03802e7633048b4ed003ab
+SHA1 (patch-ad) = 58ddab0864cc950e39f46c2230da2280ab26e19c
diff --git a/cad/gnucap/patches/patch-ac b/cad/gnucap/patches/patch-ac
new file mode 100644
index 00000000000..0b5eefe3b45
--- /dev/null
+++ b/cad/gnucap/patches/patch-ac
@@ -0,0 +1,16 @@
+$NetBSD: patch-ac,v 1.1 2003/11/08 00:54:22 dmcmahill Exp $
+
+--- modelgen/Makefile.orig 2002-11-06 02:47:55.000000000 -0500
++++ modelgen/Makefile
+@@ -77,6 +77,11 @@ netbsd: nothing
+ cat Make1 Make2.g++ Make3 Make.depend >NETBSD/Makefile
+ (cd NETBSD; ${MAKE} -k)
+ #-----------------------------------------------------------------------------
++pkgsrc: nothing
++ -mkdir PKGSRC
++ cat Make1 Make2.g++ Make3 Make.depend >PKGSRC/Makefile
++ (cd PKGSRC; ${MAKE} -k)
++#-----------------------------------------------------------------------------
+ next: nothing
+ -mkdir NEXT
+ cat Make1 Make2.g++ Make3 Make.depend >NEXT/Makefile
diff --git a/cad/gnucap/patches/patch-ad b/cad/gnucap/patches/patch-ad
new file mode 100644
index 00000000000..f5d547a053b
--- /dev/null
+++ b/cad/gnucap/patches/patch-ad
@@ -0,0 +1,16 @@
+$NetBSD: patch-ad,v 1.1 2003/11/08 00:54:22 dmcmahill Exp $
+
+--- src/Makefile.orig 2002-11-06 02:47:55.000000000 -0500
++++ src/Makefile
+@@ -77,6 +77,11 @@ netbsd: nothing
+ cat Make1 Make2.g++ Make3 Make.depend >NETBSD/Makefile
+ (cd NETBSD; ${MAKE} -k)
+ #-----------------------------------------------------------------------------
++pkgsrc: nothing
++ -mkdir PKGSRC
++ cat Make1 Make2.g++ Make3 Make.depend >PKGSRC/Makefile
++ (cd PKGSRC; ${MAKE} -k)
++#-----------------------------------------------------------------------------
+ next: nothing
+ -mkdir NEXT
+ cat Make1 Make2.g++ Make3 Make.depend >NEXT/Makefile