pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/pkgconf



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Thu May  1 19:34:59 UTC 2025

Modified Files:
        pkgsrc/devel/pkgconf: Makefile

Log Message:
pkgconf: on OS X < 10.10, link MacportsLegacySupport for readlinkat().


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 pkgsrc/devel/pkgconf/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/pkgconf/Makefile
diff -u pkgsrc/devel/pkgconf/Makefile:1.33 pkgsrc/devel/pkgconf/Makefile:1.34
--- pkgsrc/devel/pkgconf/Makefile:1.33  Sun Mar  9 06:06:44 2025
+++ pkgsrc/devel/pkgconf/Makefile       Thu May  1 19:34:59 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2025/03/09 06:06:44 wiz Exp $
+# $NetBSD: Makefile,v 1.34 2025/05/01 19:34:59 schmonz Exp $
 
 DISTNAME=      pkgconf-2.4.3
 CATEGORIES=    devel
@@ -41,6 +41,12 @@ CONFIGURE_ARGS+=     --with-pkg-config-dir=$
 # configure script incorrectly sets only _FILE_OFFSET_BITS=64
 CPPFLAGS.SunOS+=       -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
 
+# readlinkat() arrived in Mac OS X 10.10 Yosemite
+.if ${OPSYS} == "Darwin" && ${OPSYS_VERSION} < 101000
+LDFLAGS+=              -lMacportsLegacySupport
+.  include "../../devel/macports-legacy-support/buildlink3.mk"
+.endif
+
 post-install:
        ${LN} -s pkgconf ${DESTDIR}${PREFIX}/bin/pkg-config
        ${LN} -s pkgconf.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/pkg-config.1



Home | Main Index | Thread Index | Old Index