pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/lowdown lowdown: fix build on SunOS



details:   https://anonhg.NetBSD.org/pkgsrc/rev/104da07ed7da
branches:  trunk
changeset: 368964:104da07ed7da
user:      wiedi <wiedi%pkgsrc.org@localhost>
date:      Sun Sep 24 10:03:51 2017 +0000

description:
lowdown: fix build on SunOS

Stop the package from overwriting CC, CFLAGS or LDFLAGS

diffstat:

 textproc/lowdown/Makefile |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 9d2fee6bf7ca -r 104da07ed7da textproc/lowdown/Makefile
--- a/textproc/lowdown/Makefile Sat Sep 23 23:06:33 2017 +0000
+++ b/textproc/lowdown/Makefile Sun Sep 24 10:03:51 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2017/09/16 14:27:48 ryoon Exp $
+# $NetBSD: Makefile,v 1.4 2017/09/24 10:03:51 wiedi Exp $
 
 DISTNAME=      lowdown-VERSION_0_2_4
 PKGNAME=       lowdown-0.2.4
@@ -15,7 +15,10 @@
 
 SUBST_CLASSES+=                install
 SUBST_SED.install+=    -e 's,/usr/local,${PREFIX},' \
-                       -e 's,^MANDIR=.*,MANDIR=${PREFIX}/${PKGMANDIR},'
+                       -e 's,^MANDIR=.*,MANDIR=${PREFIX}/${PKGMANDIR},' \
+                       -e '/CC=.*/d' \
+                       -e '/CFLAGS=.*/d' \
+                       -e '/LDFLAGS=.*/d'
 SUBST_FILES.install+=  configure
 SUBST_STAGE.install=   pre-configure
 SUBST_MESSAGE.install= Fixing installation path.



Home | Main Index | Thread Index | Old Index