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:           Tue May  6 10:08:37 UTC 2025

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

Log Message:
mk: Change SHLIB_EXT to be based on OBJECT_FMT.

Add support for SOM format (.sl) that certain HPUX architectures use.  Will be
required for upcoming change to converters/help2man.


To generate a diff of this commit:
cvs rdiff -u -r1.460 -r1.461 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.460 pkgsrc/mk/bsd.prefs.mk:1.461
--- pkgsrc/mk/bsd.prefs.mk:1.460        Fri May  2 11:05:59 2025
+++ pkgsrc/mk/bsd.prefs.mk      Tue May  6 10:08:37 2025
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.460 2025/05/02 11:05:59 jperkin Exp $
+# $NetBSD: bsd.prefs.mk,v 1.461 2025/05/06 10:08:37 jperkin Exp $
 #
 # This file includes the mk.conf file, which contains the user settings.
 #
@@ -557,10 +557,11 @@ PKG_FAIL_REASON+= "missing mk/platform/$
 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.
+# OBJECT_FMT, though sometimes ".so" will be used regardless.
 #
-SHLIB_EXT.Darwin=      dylib
-SHLIB_EXT=             ${SHLIB_EXT.${OPSYS}:Uso}
+SHLIB_EXT.Mach-O=      dylib
+SHLIB_EXT.SOM=         sl
+SHLIB_EXT=             ${SHLIB_EXT.${OBJECT_FMT}:Uso}
 
 PKGDIRMODE?=           755
 



Home | Main Index | Thread Index | Old Index