pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/xcalib xcalib: honor LDFLAGS. Fixes RELRO build.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/41d5b28f215c
branches:  trunk
changeset: 376678:41d5b28f215c
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Mar 06 15:31:13 2018 +0000

description:
xcalib: honor LDFLAGS. Fixes RELRO build.

Bump PKGREVISION.

diffstat:

 x11/xcalib/Makefile |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (23 lines):

diff -r 6e7e1def6dea -r 41d5b28f215c x11/xcalib/Makefile
--- a/x11/xcalib/Makefile       Tue Mar 06 15:29:30 2018 +0000
+++ b/x11/xcalib/Makefile       Tue Mar 06 15:31:13 2018 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2014/12/10 23:27:31 joerg Exp $
-#
+# $NetBSD: Makefile,v 1.6 2018/03/06 15:31:13 wiz Exp $
 
 DISTNAME=      xcalib-source-0.8
-PKGREVISION=   1
+PKGREVISION=   2
 PKGNAME=       ${DISTNAME:C/-source//}
 CATEGORIES=    x11
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=xcalib/}
@@ -21,7 +20,7 @@
 
 do-build:
        cd ${WRKSRC} && ${LIBTOOL} --mode=compile ${CC} ${CFLAGS} -c xcalib.c
-       cd ${WRKSRC} && ${LIBTOOL} --mode=link ${CC} \
+       cd ${WRKSRC} && ${LIBTOOL} --mode=link ${CC} ${LDFLAGS} \
                ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libX11}/lib \
                -L${BUILDLINK_PREFIX.libX11}/lib \
                ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libXxf86vm}/lib \



Home | Main Index | Thread Index | Old Index