pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/gtexinfo gtexinfo: fix RELRO build



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5ce4fbc93934
branches:  trunk
changeset: 342266:5ce4fbc93934
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Oct 16 21:17:08 2019 +0000

description:
gtexinfo: fix RELRO build

Some pkglint cleanup while here.

diffstat:

 devel/gtexinfo/Makefile |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (33 lines):

diff -r 129299606725 -r 5ce4fbc93934 devel/gtexinfo/Makefile
--- a/devel/gtexinfo/Makefile   Wed Oct 16 21:16:47 2019 +0000
+++ b/devel/gtexinfo/Makefile   Wed Oct 16 21:17:08 2019 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.105 2019/10/09 11:01:18 hauke Exp $
+# $NetBSD: Makefile,v 1.106 2019/10/16 21:17:08 wiz Exp $
 
 DISTNAME=              texinfo-6.7
+PKGNAME=               g${DISTNAME}
 PKGREVISION=           1
-PKGNAME=               g${DISTNAME}
 CATEGORIES=            devel sysutils
 MASTER_SITES=          ${MASTER_SITE_GNU:=texinfo/}
 
@@ -22,6 +22,9 @@
 CONFIGURE_ARGS+=       --with-external-libintl-perl
 CONFIGURE_ARGS+=       --with-external-Text-Unidecode
 CONFIGURE_ARGS+=       --with-external-Unicode-EastAsianWidth
+CONFIGURE_ARGS+=       PERL_EXT_CFLAGS=${CFLAGS:Q}
+CONFIGURE_ARGS+=       PERL_EXT_LDFLAGS=${LDFLAGS:Q}
+
 USE_LIBTOOL=           yes
 
 INFO_FILES=            yes
@@ -32,7 +35,7 @@
 # Replace deeply nested config.sub files (in vendored perl libraries)
 OVERRIDE_DIRDEPTH=     4
 
-PKGSRC_INFOPATH=       ${PREFIX}/${PKGINFODIR}:${X11BASE}/${PKGINFODIR}:${LOCALBASE}/${PKGINFODIR}
+PKGSRC_INFOPATH=       ${PREFIX}/${PKGINFODIR}:${X11BASE}/${PKGINFODIR}:${PREFIX}/${PKGINFODIR}
 MAKE_ENV+=             PKGSRC_INFOPATH=${PKGSRC_INFOPATH:Q}
 
 REPLACE_SH+=           util/texi2dvi



Home | Main Index | Thread Index | Old Index