pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/glut Honor LDFLAGS. Fixes RELRO build.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bf11239447ef
branches:  trunk
changeset: 365297:bf11239447ef
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Jul 13 12:37:03 2017 +0000

description:
Honor LDFLAGS. Fixes RELRO build.

diffstat:

 graphics/glut/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ba91617551d5 -r bf11239447ef graphics/glut/Makefile
--- a/graphics/glut/Makefile    Thu Jul 13 12:33:37 2017 +0000
+++ b/graphics/glut/Makefile    Thu Jul 13 12:37:03 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.57 2015/04/25 14:23:11 tnn Exp $
+# $NetBSD: Makefile,v 1.58 2017/07/13 12:37:03 wiz Exp $
 
 DISTNAME=      MesaGLUT-7.9.2
 # we have the autoconf patches from git, so call it 8.0.1.
@@ -21,7 +21,7 @@
 
 PKGCONFIG_OVERRIDE+=   src/glut/glx/glut.pc.in
 
-CONFIGURE_ENV+=        "EXTRA_LIB_PATH=${COMPILER_RPATH_FLAG}${X11BASE}/lib -L${X11BASE}/lib"
+CONFIGURE_ENV+=        "EXTRA_LIB_PATH=${LDFLAGS} ${COMPILER_RPATH_FLAG}${X11BASE}/lib -L${X11BASE}/lib"
 
 pre-configure:
        cd ${WRKSRC} && autoreconf -vif



Home | Main Index | Thread Index | Old Index