pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/gettext-tools



Module Name:    pkgsrc
Committed By:   nia
Date:           Mon Apr  7 15:26:08 UTC 2025

Modified Files:
        pkgsrc/devel/gettext-tools: Makefile

Log Message:
gettext-tools: Fix build on UnixWare 7.


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 pkgsrc/devel/gettext-tools/Makefile

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

Modified files:

Index: pkgsrc/devel/gettext-tools/Makefile
diff -u pkgsrc/devel/gettext-tools/Makefile:1.44 pkgsrc/devel/gettext-tools/Makefile:1.45
--- pkgsrc/devel/gettext-tools/Makefile:1.44    Tue Jan  3 16:32:42 2023
+++ pkgsrc/devel/gettext-tools/Makefile Mon Apr  7 15:26:08 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2023/01/03 16:32:42 wiz Exp $
+# $NetBSD: Makefile,v 1.45 2025/04/07 15:26:08 nia Exp $
 
 .include "../../devel/gettext/Makefile.common"
 
@@ -37,10 +37,21 @@ BUILDLINK_TRANSFORM.Cygwin+=        rm:-Wl,--di
 #bug 20453 in bug-gzip list, passed onto gnulib
 CONFIGURE_ENV.AIX+=    ac_cv_header_wctype_h=no
 
-PLIST_VARS+=   glibc
-
 .include "../../mk/bsd.prefs.mk"
 
+.if ${OPSYS} == "UnixWare"
+# atomics
+CFLAGS+=               -march=i486
+# cannot handle stat functions defined as macros by uw7 libc
+SUBST_CLASSES+=         offset
+SUBST_STAGE.offset=     pre-configure
+SUBST_FILES.offset=     */configure
+SUBST_SED.offset=       -e 's/FILE_OFFSET_BITS 64/FILE_OFFSET_BITS 32/g'
+SUBST_SED.offset+=     -e 's/FILE_OFFSET_BITS=64/FILE_OFFSET_BITS=32/g'
+.endif
+
+PLIST_VARS+=   glibc
+
 .if !empty(GLIBC_VERSION)
 PLIST.glibc=   yes
 .endif



Home | Main Index | Thread Index | Old Index