pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/platform



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Apr  8 17:13:17 UTC 2025

Modified Files:
        pkgsrc/mk/platform: UnixWare.mk

Log Message:
mk: Add some commonly needed workarounds for uw7.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 pkgsrc/mk/platform/UnixWare.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/platform/UnixWare.mk
diff -u pkgsrc/mk/platform/UnixWare.mk:1.36 pkgsrc/mk/platform/UnixWare.mk:1.37
--- pkgsrc/mk/platform/UnixWare.mk:1.36 Tue Feb 18 11:58:53 2025
+++ pkgsrc/mk/platform/UnixWare.mk      Tue Apr  8 17:13:17 2025
@@ -1,4 +1,4 @@
-# $NetBSD: UnixWare.mk,v 1.36 2025/02/18 11:58:53 wiz Exp $
+# $NetBSD: UnixWare.mk,v 1.37 2025/04/08 17:13:17 nia Exp $
 #
 # Variable definitions for the UnixWare 7 operating system.
 
@@ -27,6 +27,10 @@ ULIMIT_CMD_stacksize?=       ulimit -s `ulimit
 ULIMIT_CMD_memorysize?=        ulimit -v `ulimit -H -v`
 USERADD?=              /usr/sbin/useradd
 
+# This is commonly needed in packages that use GNU's getopt.c
+# since they duplicate optarg definitions from libc.
+LDFLAGS+=              -Wl,-zmuldefs
+
 _OPSYS_SYSTEM_RPATH?=  /usr/lib
 _OPSYS_LIB_DIRS?=      /usr/lib
 _OPSYS_INCLUDE_DIRS?=  /usr/include
@@ -61,3 +65,6 @@ _OPSYS_CAN_CHECK_SHLIBS=      no # can't use 
 # to avoid a test required by the libtool script that takes forever.
 # FIXME: Adjust to work on this system and enable the lines below.
 #_OPSYS_MAX_CMDLEN_CMD=        /sbin/sysctl -n kern.argmax
+
+_OPSYS_PREFER.curses?= pkgsrc
+_OPSYS_PREFER.termcap?=        pkgsrc



Home | Main Index | Thread Index | Old Index