pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/xview-lib



Module Name:    pkgsrc
Committed By:   mef
Date:           Wed Nov  3 10:37:12 UTC 2021

Modified Files:
        pkgsrc/x11/xview-lib: Makefile

Log Message:
(x11/xview-lib) Purely temporarily, adhoc fix for RELRO for USE_IMAKE version


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 pkgsrc/x11/xview-lib/Makefile

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

Modified files:

Index: pkgsrc/x11/xview-lib/Makefile
diff -u pkgsrc/x11/xview-lib/Makefile:1.41 pkgsrc/x11/xview-lib/Makefile:1.42
--- pkgsrc/x11/xview-lib/Makefile:1.41  Mon Mar 25 07:46:41 2013
+++ pkgsrc/x11/xview-lib/Makefile       Wed Nov  3 10:37:12 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2013/03/25 07:46:41 sbd Exp $
+# $NetBSD: Makefile,v 1.42 2021/11/03 10:37:12 mef Exp $
 
 DISTNAME=              xview3.2p1-X11R6
 PKGNAME=               xview-lib-3.2.1
@@ -21,6 +21,14 @@ NOT_FOR_PLATFORM+=   Linux-*-*
 
 USE_IMAKE=             yes
 
+SUBST_CLASSES+=                relro
+SUBST_MESSAGE.relro=   Add RELRO support
+SUBST_FILES.relro=     lib/libxview/Makefile
+SUBST_FILES.relro+=    lib/libolgx/Makefile
+SUBST_STAGE.relro=     post-configure
+#      SHLIBLDFLAGS = -shared -Wl,-rpath,$(USRLIBDIRPATH) -Wl,-rpath,$(REALPROJECTROOT)/lib -L $(REALPROJECTROOT)/lib $(SHLIBGLOBALSFLAGS)
+SUBST_SED.relro=       '-e /SHLIBLDFLAGS = /s/-Wl,/-Wl,-z,relro -Wl,-z,now -Wl,/'
+
 post-install:
        cd ${DESTDIR}${PREFIX}/lib && ${LN} -fs libolgx.so.3.2 libolgx.so.3 && \
                ${LN} -fs libxview.so.3.2 libxview.so.3



Home | Main Index | Thread Index | Old Index