pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/tcllibc



Module Name:    pkgsrc
Committed By:   scole
Date:           Mon Mar  3 01:31:02 UTC 2025

Modified Files:
        pkgsrc/devel/tcllibc: Makefile PLIST

Log Message:
update to 2.0nb1
- use PKGVERSION_NOREV for PLIST (PLIST handling doesn't like "_" in variable names?)
- don't build default targets for shared package, do c-compile target only


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

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

Modified files:

Index: pkgsrc/devel/tcllibc/Makefile
diff -u pkgsrc/devel/tcllibc/Makefile:1.2 pkgsrc/devel/tcllibc/Makefile:1.3
--- pkgsrc/devel/tcllibc/Makefile:1.2   Wed Feb 26 09:59:00 2025
+++ pkgsrc/devel/tcllibc/Makefile       Mon Mar  3 01:31:02 2025
@@ -1,23 +1,29 @@
-# $NetBSD: Makefile,v 1.2 2025/02/26 09:59:00 scole Exp $
+# $NetBSD: Makefile,v 1.3 2025/03/03 01:31:02 scole Exp $
 
 .include "../../devel/tcllib/Makefile.common"
 
 PKGNAME=       ${DISTNAME:S/tcllib/tcllibc/}
+PKGREVISION=   1
 COMMENT=       C-based accelerators for tcllib
 
 USE_TOOLS+=    ls
 
-DEPENDS+=      tcllib>=${PKGVERSION}:../../devel/tcllib
+DEPENDS+=      tcllib>=${PKGVERSION_NOREV}:../../devel/tcllib
 
-do-install:
+PLIST_SUBST+=  PVNR=tcllibc${PKGVERSION_NOREV}
+
+# shared lib for PLIST, xxx use libtool
+GENERATE_PLIST+=       (cd ${DESTDIR}${PREFIX} && ${LS} \
+                       lib/tcllibc*/*/*);
+
+do-build:
        cd ${WRKSRC} && ${TCLSH} sak.tcl critcl \
        -includedir ${DESTDIR}${PREFIX}/include \
        -libdir ${DESTDIR}${PREFIX}/lib \
        -pkg tcllibc${PKGVERSION_NOREV}
 
-# shared lib for PLIST, xxx use libtool
-GENERATE_PLIST+=       (cd ${DESTDIR}${PREFIX} && ${LS} \
-                       lib/tcllibc*/*/*);
+do-install:
+       # do nothing
 
 .include "../../devel/critcl/buildlink3.mk"
 .include "../../lang/tcl/buildlink3.mk"
Index: pkgsrc/devel/tcllibc/PLIST
diff -u pkgsrc/devel/tcllibc/PLIST:1.2 pkgsrc/devel/tcllibc/PLIST:1.3
--- pkgsrc/devel/tcllibc/PLIST:1.2      Wed Feb 26 09:59:00 2025
+++ pkgsrc/devel/tcllibc/PLIST  Mon Mar  3 01:31:02 2025
@@ -1,9 +1,9 @@
-@comment $NetBSD: PLIST,v 1.2 2025/02/26 09:59:00 scole Exp $
+@comment $NetBSD: PLIST,v 1.3 2025/03/03 01:31:02 scole Exp $
 include/sha256c/sha256.h
 include/sha256c/sha256c.decls
 include/sha256c/sha256cDecls.h
 include/sha256c/sha256cStubLib.h
-lib/tcllibc${PKGVERSION}/critcl-rt.tcl
-lib/tcllibc${PKGVERSION}/license.terms
-lib/tcllibc${PKGVERSION}/pkgIndex.tcl
-lib/tcllibc${PKGVERSION}/teapot.txt
+lib/${PVNR}/critcl-rt.tcl
+lib/${PVNR}/license.terms
+lib/${PVNR}/pkgIndex.tcl
+lib/${PVNR}/teapot.txt



Home | Main Index | Thread Index | Old Index