pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/cad/gnucap create a 'pkgsrc' type system in the gnucap...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/13c8da12de6f
branches:  trunk
changeset: 463360:13c8da12de6f
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Sat Nov 08 00:54:22 2003 +0000

description:
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:

 cad/gnucap/Makefile         |   6 +++---
 cad/gnucap/distinfo         |   4 +++-
 cad/gnucap/patches/patch-ac |  16 ++++++++++++++++
 cad/gnucap/patches/patch-ad |  16 ++++++++++++++++
 4 files changed, 38 insertions(+), 4 deletions(-)

diffs (73 lines):

diff -r b108ae94083c -r 13c8da12de6f cad/gnucap/Makefile
--- a/cad/gnucap/Makefile       Fri Nov 07 23:24:12 2003 +0000
+++ b/cad/gnucap/Makefile       Sat Nov 08 00:54:22 2003 +0000
@@ -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_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 -r b108ae94083c -r 13c8da12de6f cad/gnucap/distinfo
--- a/cad/gnucap/distinfo       Fri Nov 07 23:24:12 2003 +0000
+++ b/cad/gnucap/distinfo       Sat Nov 08 00:54:22 2003 +0000
@@ -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 -r b108ae94083c -r 13c8da12de6f cad/gnucap/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/gnucap/patches/patch-ac       Sat Nov 08 00:54:22 2003 +0000
@@ -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 -r b108ae94083c -r 13c8da12de6f cad/gnucap/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/gnucap/patches/patch-ad       Sat Nov 08 00:54:22 2003 +0000
@@ -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



Home | Main Index | Thread Index | Old Index