aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-07-02 06:47:52 +0800
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-07-02 06:47:52 +0800
commit5e800ccc508aed294b1f06ef4af90cf1271eecc6 (patch)
tree1eb0936fa3b6ed1485c96f8b4d68abe91a57d651 /devel
parent1b034ec3178488ad9c221e1a2fd35e6ce22cae66 (diff)
downloadfreebsd-ports-gnome-5e800ccc508aed294b1f06ef4af90cf1271eecc6.tar.gz
freebsd-ports-gnome-5e800ccc508aed294b1f06ef4af90cf1271eecc6.tar.zst
freebsd-ports-gnome-5e800ccc508aed294b1f06ef4af90cf1271eecc6.zip
Do not hardcode make and pass CPPFLAGS to CFLAGS to fix build with no readline in base
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-ReadLine-Gnu/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/p5-ReadLine-Gnu/Makefile b/devel/p5-ReadLine-Gnu/Makefile
index b46db679019d..a7c30c7cb796 100644
--- a/devel/p5-ReadLine-Gnu/Makefile
+++ b/devel/p5-ReadLine-Gnu/Makefile
@@ -16,10 +16,11 @@ LICENSE= ART10 GPLv1
LICENSE_COMB= dual
USES= perl5 readline
+CFLAGS+= ${CPPFLAGS}
USE_PERL5= configure
WRKSRC= ${WRKDIR}/${DISTNAME:C/a$//}
test: build
- @(cd ${WRKSRC}; make test)
+ @(cd ${WRKSRC}; ${MAKE_CMD} test)
.include <bsd.port.mk>