pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/memcached
Module Name: pkgsrc
Committed By: nia
Date: Tue Mar 19 02:16:57 UTC 2024
Modified Files:
pkgsrc/devel/memcached: Makefile
Log Message:
memcached: Do not hardcode COMPILER_RPATH_FLAG
To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 pkgsrc/devel/memcached/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/memcached/Makefile
diff -u pkgsrc/devel/memcached/Makefile:1.90 pkgsrc/devel/memcached/Makefile:1.91
--- pkgsrc/devel/memcached/Makefile:1.90 Mon Jan 15 09:06:11 2024
+++ pkgsrc/devel/memcached/Makefile Tue Mar 19 02:16:57 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.90 2024/01/15 09:06:11 adam Exp $
+# $NetBSD: Makefile,v 1.91 2024/03/19 02:16:57 nia Exp $
DISTNAME= memcached-1.6.23
CATEGORIES= devel
@@ -20,6 +20,17 @@ INSTALLATION_DIRS= share/doc/${PKGBASE}
.include "../../mk/bsd.prefs.mk"
+# Macs lacked clock_gettime way past its implement-by date.
+.if ${OPSYS} == "Darwin" && ${OPSYS_VERSION} < 101200
+LDFLAGS+= -lMacportsLegacySupport
+. include "../../devel/macports-legacy-support/buildlink3.mk"
+.endif
+
+SUBST_CLASSES+= rpath
+SUBST_STAGE.rpath= pre-configure
+SUBST_FILES.rpath+= configure
+SUBST_SED.rpath+= -e 's|-Wl,-rpath,|${COMPILER_RPATH_FLAG}|g'
+
.include "options.mk"
BUILD_DEFS+= VARBASE
Home |
Main Index |
Thread Index |
Old Index