pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/chicken5



Module Name:    pkgsrc
Committed By:   leot
Date:           Sat Jul  6 21:16:59 UTC 2019

Modified Files:
        pkgsrc/lang/chicken5: Makefile PLIST

Log Message:
chicken5: Update OWN_DIRS after 5.1.0 and introduce CHICKEN_BINARY_VERSION

In 5.1.0 the binary-version was bumped to 11.  Update OWN_DIRS
accordingly and introduce CHICKEN_BINARY_VERSION variable to
automatically adjust OWN_DIRS and PLIST.

PKGREVISION++


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/chicken5/Makefile \
    pkgsrc/lang/chicken5/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/chicken5/Makefile
diff -u pkgsrc/lang/chicken5/Makefile:1.2 pkgsrc/lang/chicken5/Makefile:1.3
--- pkgsrc/lang/chicken5/Makefile:1.2   Tue Jul  2 13:22:40 2019
+++ pkgsrc/lang/chicken5/Makefile       Sat Jul  6 21:16:59 2019
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2019/07/02 13:22:40 ryoon Exp $
+# $NetBSD: Makefile,v 1.3 2019/07/06 21:16:59 leot Exp $
 
 DISTNAME=      chicken-5.1.0
+PKGREVISION=   1
 CATEGORIES=    lang
 MASTER_SITES=  http://code.call-cc.org/releases/${PKGVERSION_NOREV}/
 
@@ -15,7 +16,11 @@ USE_LIBTOOL=         yes
 USE_TOOLS+=            gmake
 UNLIMIT_RESOURCES=     datasize
 
-OWN_DIRS=              ${PREFIX}/lib/chicken ${PREFIX}/lib/chicken/9
+BUILD_DEFS+=           CHICKEN_BINARY_VERSION
+CHICKEN_BINARY_VERSION=        11
+
+OWN_DIRS+=     ${PREFIX}/lib/chicken
+OWN_DIRS+=     ${PREFIX}/lib/chicken/${CHICKEN_BINARY_VERSION}
 
 BUILD_TARGET=          all
 
@@ -52,4 +57,8 @@ MAKE_FLAGS+=  INSTALL_PROGRAM=${INSTALL:Q
 
 TEST_TARGET=   check
 
+PLIST_SUBST+=          CHICKEN_BINARY_VERSION=${CHICKEN_BINARY_VERSION:Q}
+PRINT_PLIST_AWK+=      { sub("/${CHICKEN_BINARY_VERSION}/", "/$${CHICKEN_BINARY_VERSION}/") }
+PRINT_PLIST_AWK+=      { sub(".so.${CHICKEN_BINARY_VERSION}$$", ".so.$${CHICKEN_BINARY_VERSION}") }
+
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/lang/chicken5/PLIST
diff -u pkgsrc/lang/chicken5/PLIST:1.2 pkgsrc/lang/chicken5/PLIST:1.3
--- pkgsrc/lang/chicken5/PLIST:1.2      Tue Jul  2 13:22:40 2019
+++ pkgsrc/lang/chicken5/PLIST  Sat Jul  6 21:16:59 2019
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2019/07/02 13:22:40 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.3 2019/07/06 21:16:59 leot Exp $
 bin/chicken
 bin/chicken-do
 bin/chicken-install
@@ -10,53 +10,53 @@ bin/csi
 bin/feathers
 include/chicken/chicken-config.h
 include/chicken/chicken.h
-lib/chicken/11/chicken.base.import.so
-lib/chicken/11/chicken.bitwise.import.so
-lib/chicken/11/chicken.blob.import.so
-lib/chicken/11/chicken.compiler.user-pass.import.so
-lib/chicken/11/chicken.condition.import.so
-lib/chicken/11/chicken.continuation.import.so
-lib/chicken/11/chicken.csi.import.so
-lib/chicken/11/chicken.errno.import.so
-lib/chicken/11/chicken.eval.import.so
-lib/chicken/11/chicken.file.import.so
-lib/chicken/11/chicken.file.posix.import.so
-lib/chicken/11/chicken.fixnum.import.so
-lib/chicken/11/chicken.flonum.import.so
-lib/chicken/11/chicken.foreign.import.so
-lib/chicken/11/chicken.format.import.so
-lib/chicken/11/chicken.gc.import.so
-lib/chicken/11/chicken.internal.import.so
-lib/chicken/11/chicken.io.import.so
-lib/chicken/11/chicken.irregex.import.so
-lib/chicken/11/chicken.keyword.import.so
-lib/chicken/11/chicken.load.import.so
-lib/chicken/11/chicken.locative.import.so
-lib/chicken/11/chicken.memory.import.so
-lib/chicken/11/chicken.memory.representation.import.so
-lib/chicken/11/chicken.pathname.import.so
-lib/chicken/11/chicken.platform.import.so
-lib/chicken/11/chicken.plist.import.so
-lib/chicken/11/chicken.port.import.so
-lib/chicken/11/chicken.pretty-print.import.so
-lib/chicken/11/chicken.process-context.import.so
-lib/chicken/11/chicken.process-context.posix.import.so
-lib/chicken/11/chicken.process.import.so
-lib/chicken/11/chicken.process.signal.import.so
-lib/chicken/11/chicken.random.import.so
-lib/chicken/11/chicken.read-syntax.import.so
-lib/chicken/11/chicken.repl.import.so
-lib/chicken/11/chicken.sort.import.so
-lib/chicken/11/chicken.string.import.so
-lib/chicken/11/chicken.syntax.import.so
-lib/chicken/11/chicken.tcp.import.so
-lib/chicken/11/chicken.time.import.so
-lib/chicken/11/chicken.time.posix.import.so
-lib/chicken/11/srfi-4.import.so
-lib/chicken/11/types.db
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.base.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.bitwise.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.blob.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.compiler.user-pass.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.condition.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.continuation.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.csi.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.errno.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.eval.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.file.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.file.posix.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.fixnum.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.flonum.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.foreign.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.format.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.gc.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.internal.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.io.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.irregex.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.keyword.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.load.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.locative.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.memory.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.memory.representation.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.pathname.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.platform.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.plist.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.port.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.pretty-print.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.process-context.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.process-context.posix.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.process.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.process.signal.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.random.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.read-syntax.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.repl.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.sort.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.string.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.syntax.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.tcp.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.time.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/chicken.time.posix.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/srfi-4.import.so
+lib/chicken/${CHICKEN_BINARY_VERSION}/types.db
 lib/libchicken.a
 lib/libchicken.so
-lib/libchicken.so.11
+lib/libchicken.so.${CHICKEN_BINARY_VERSION}
 man/man1/chicken-do.1
 man/man1/chicken-install.1
 man/man1/chicken-profile.1



Home | Main Index | Thread Index | Old Index