pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/geography/gpsd
Module Name: pkgsrc
Committed By: wiz
Date: Tue Jul 21 16:01:53 UTC 2026
Modified Files:
pkgsrc/geography/gpsd: Makefile
Log Message:
gpsd: add a hack to fix relro builds
LDFLAGS are honored inconsistently; use the code that was globally
in mk/ to fix this locally here for now.
To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 pkgsrc/geography/gpsd/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/geography/gpsd/Makefile
diff -u pkgsrc/geography/gpsd/Makefile:1.95 pkgsrc/geography/gpsd/Makefile:1.96
--- pkgsrc/geography/gpsd/Makefile:1.95 Thu Jun 11 07:17:02 2026
+++ pkgsrc/geography/gpsd/Makefile Tue Jul 21 16:01:53 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.95 2026/06/11 07:17:02 wiz Exp $
+# $NetBSD: Makefile,v 1.96 2026/07/21 16:01:53 wiz Exp $
DISTNAME= gpsd-3.27.5
PKGREVISION= 2
@@ -79,3 +79,14 @@ PLIST_SUBST+= PLIST_DYLIB=
#.include "../../mk/curses.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
+
+.if defined(_RELRO_LDFLAGS)
+# XXX: hack
+# These should be taken from LDFLAGS, but that happens inconsistently here.
+# most programs:
+_WRAP_EXTRA_ARGS.CC+= ${_RELRO_LDFLAGS}
+CWRAPPERS_PREPEND.cc+= ${_RELRO_LDFLAGS}
+# lib/libgps.so.*:
+_WRAP_EXTRA_ARGS.CXX+= ${_RELRO_LDFLAGS}
+CWRAPPERS_PREPEND.cxx+= ${_RELRO_LDFLAGS}
+.endif
Home |
Main Index |
Thread Index |
Old Index