pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/cim Convert to buildlink3.
details: https://anonhg.NetBSD.org/pkgsrc/rev/eeac25320ead
branches: trunk
changeset: 475155:eeac25320ead
user: snj <snj%pkgsrc.org@localhost>
date: Tue May 11 03:33:57 2004 +0000
description:
Convert to buildlink3.
diffstat:
lang/cim/Makefile | 15 ++++++++++++---
lang/cim/distinfo | 3 ++-
lang/cim/patches/patch-ab | 13 +++++++++++++
3 files changed, 27 insertions(+), 4 deletions(-)
diffs (61 lines):
diff -r 086a9fd92822 -r eeac25320ead lang/cim/Makefile
--- a/lang/cim/Makefile Tue May 11 02:19:48 2004 +0000
+++ b/lang/cim/Makefile Tue May 11 03:33:57 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2003/08/09 10:59:06 seb Exp $
+# $NetBSD: Makefile,v 1.17 2004/05/11 03:33:57 snj Exp $
DISTNAME= cim-3.30
CATEGORIES= lang
@@ -8,12 +8,21 @@
HOMEPAGE= http://www.gnu.org/software/cim/cim.html
COMMENT= Simula compiler based on the C programming language
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
INFO_FILES= cim.info
-.include "../../lang/perl5/buildlink2.mk"
+SUBST_CLASSES+= x
+SUBST_STAGE.x= post-patch
+SUBST_FILES.x= src/cimcomp.c
+SUBST_SED.x= -e "s|SCC|\"${CC}\"|"
+SUBST_SED.x+= -e "s|SCFLAGS|\"${CFLAGS} -I${PREFIX}/include\"|"
+SUBST_SED.x+= -e "s|SLDFLAGS|\"-L${PREFIX}/lib -Wl,${RPATH_FLAG}${PREFIX}/lib\"|"
+SUBST_SED.x+= -e "s|= LIBDIR|= \"${PREFIX}/lib\"|"
+SUBST_SED.x+= -e "s|= INCLUDEDIR|= \"${PREFIX}/include\"|"
+
+.include "../../lang/perl5/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 086a9fd92822 -r eeac25320ead lang/cim/distinfo
--- a/lang/cim/distinfo Tue May 11 02:19:48 2004 +0000
+++ b/lang/cim/distinfo Tue May 11 03:33:57 2004 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2001/04/21 01:10:58 jtb Exp $
+$NetBSD: distinfo,v 1.4 2004/05/11 03:33:57 snj Exp $
SHA1 (cim-3.30.tar.gz) = 8636ac8d1eaee793769051af60140af80b82b22f
Size (cim-3.30.tar.gz) = 416809 bytes
SHA1 (patch-aa) = f05149918e1a47017f9dbdcf0a3adaec6033a2b2
+SHA1 (patch-ab) = 247f63ecbcccbafa84f1ae8b97a616d24591275d
diff -r 086a9fd92822 -r eeac25320ead lang/cim/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/cim/patches/patch-ab Tue May 11 03:33:57 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2004/05/11 03:33:57 snj Exp $
+
+--- src/Makefile.in.orig 2004-05-10 19:45:42.000000000 -0700
++++ src/Makefile.in 2004-05-10 19:46:20.000000000 -0700
+@@ -355,7 +355,7 @@ maintainer-clean-generic clean mostlycle
+
+
+ cimcomp.o: cimcomp.c Makefile
+- $(COMPILE) '-DSCC="$(SCC)"' '-DSCFLAGS="$(SCFLAGS)"' '-DSLDFLAGS="$(SLDFLAGS)"' '-DSLIBS="$(SLIBS)"' '-DLIBDIR="$(libdir)"' '-DINCLUDEDIR="$(includedir)"' -c $(srcdir)/cimcomp.c
++ $(COMPILE) '-DSLIBS="$(SLIBS)"' -c $(srcdir)/cimcomp.c
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
Home |
Main Index |
Thread Index |
Old Index