pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/gnustep-objc Support RELRO



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2773a9e04bac
branches:  trunk
changeset: 770285:2773a9e04bac
user:      pho <pho%pkgsrc.org@localhost>
date:      Sun Nov 28 15:45:13 2021 +0000

description:
Support RELRO

When running cmake it is required to do ${SETENV} ${CONFIGURE_ENV},
otherwise pkgsrc LDFLAGS will not be passed to cmake.

diffstat:

 devel/gnustep-objc/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r db7c7bad8af8 -r 2773a9e04bac devel/gnustep-objc/Makefile
--- a/devel/gnustep-objc/Makefile       Sun Nov 28 15:32:58 2021 +0000
+++ b/devel/gnustep-objc/Makefile       Sun Nov 28 15:45:13 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2020/11/04 08:36:52 triaxx Exp $
+# $NetBSD: Makefile,v 1.36 2021/11/28 15:45:13 pho Exp $
 
 DISTNAME=      libobjc2-1.8.1
 PKGNAME=       ${DISTNAME:S/libobjc2/gnustep-objc/}
@@ -23,7 +23,8 @@
 INSTALLATION_DIRS=             lib include/objc
 
 do-configure:
-       cd ${WRKSRC} && ${CMAKE} -Wno-dev ${CMAKE_ARGS} .
+       cd ${WRKSRC} && \
+               ${SETENV} ${CONFIGURE_ENV} ${CMAKE} -Wno-dev ${CMAKE_ARGS} .
 
 .include "../../devel/gnustep-make/buildlink3.mk"
 .include "../../mk/compiler.mk"



Home | Main Index | Thread Index | Old Index