pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/Geomyidae



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Mar 17 00:41:29 UTC 2024

Modified Files:
        pkgsrc/net/Geomyidae: Makefile

Log Message:
Geomyidae: support for Mac OS X version 10.5 and earlier


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/net/Geomyidae/Makefile

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

Modified files:

Index: pkgsrc/net/Geomyidae/Makefile
diff -u pkgsrc/net/Geomyidae/Makefile:1.17 pkgsrc/net/Geomyidae/Makefile:1.18
--- pkgsrc/net/Geomyidae/Makefile:1.17  Tue Oct 24 22:10:11 2023
+++ pkgsrc/net/Geomyidae/Makefile       Sun Mar 17 00:41:29 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2023/10/24 22:10:11 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2024/03/17 00:41:29 nia Exp $
 
 DISTNAME=      geomyidae-v0.69
 PKGNAME=       ${DISTNAME:S/-v/-/}
@@ -40,6 +40,14 @@ INSTALLATION_DIRS=   bin ${PKGMANDIR}/man8
 
 LDFLAGS.SunOS+=                -lsocket -lnsl
 
+.include "../../mk/bsd.prefs.mk"
+
+# XXX getline (in libnbcompat), dprintf (not in libnbcompat)
+.if ${OPSYS} == "Darwin" && ${OPSYS_VERSION} < 100600
+LDFLAGS+=      -lMacportsLegacySupport
+.  include "../../devel/macports-legacy-support/buildlink3.mk"
+.endif
+
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/geomyidae ${DESTDIR}${PREFIX}/bin
        ${INSTALL_MAN} ${WRKSRC}/geomyidae.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8



Home | Main Index | Thread Index | Old Index