pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Fri May  2 11:05:59 UTC 2025

Modified Files:
        pkgsrc/mk: bsd.prefs.mk

Log Message:
mk: Add common definition of SHLIB_EXT.

This, and the similarly named SOEXT, are duplicated frequently across
the tree, so provide a common definition for it.


To generate a diff of this commit:
cvs rdiff -u -r1.459 -r1.460 pkgsrc/mk/bsd.prefs.mk

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

Modified files:

Index: pkgsrc/mk/bsd.prefs.mk
diff -u pkgsrc/mk/bsd.prefs.mk:1.459 pkgsrc/mk/bsd.prefs.mk:1.460
--- pkgsrc/mk/bsd.prefs.mk:1.459        Mon Apr 21 15:57:33 2025
+++ pkgsrc/mk/bsd.prefs.mk      Fri May  2 11:05:59 2025
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.459 2025/04/21 15:57:33 wiz Exp $
+# $NetBSD: bsd.prefs.mk,v 1.460 2025/05/02 11:05:59 jperkin Exp $
 #
 # This file includes the mk.conf file, which contains the user settings.
 #
@@ -556,6 +556,12 @@ PKG_FAIL_REASON+=  "missing mk/platform/$
 # Set default SHLIB_TYPE to the ${OPSYS}-specific shared library type.
 SHLIB_TYPE?=           ${_OPSYS_SHLIB_TYPE}
 
+# Set SHLIB_EXT to the most common shared library extension for this
+# OPSYS, though sometimes ".so" will be used regardless.
+#
+SHLIB_EXT.Darwin=      dylib
+SHLIB_EXT=             ${SHLIB_EXT.${OPSYS}:Uso}
+
 PKGDIRMODE?=           755
 
 # A meta-package is a package that does not have any files and whose



Home | Main Index | Thread Index | Old Index