summaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2003-01-22 18:44:01 +0000
committerfjoe <fjoe@FreeBSD.org>2003-01-22 18:44:01 +0000
commit978efdb7b9d5cf0c3efe10b2a3006658609f101c (patch)
treee10a3cdda0391f019642dc13cf01be7b7f725dec /news
parentf369206aa2f7416a44d1d5d6b0ee93ba95e9b00d (diff)
downloadFreeBSD-ports-978efdb7b9d5cf0c3efe10b2a3006658609f101c.zip
FreeBSD-ports-978efdb7b9d5cf0c3efe10b2a3006658609f101c.tar.gz
- build (hpt) with perl support by default
(-DWITHOUT_PERL knob can be used to turn it off) - use current ${CC}, ${CXX}, ${CFLAGS}, ${PREFIX} values (not values which were in effect when husky-base port was built)
Diffstat (limited to 'news')
-rw-r--r--news/husky-base/Makefile12
-rw-r--r--news/husky-base/Makefile.inc11
-rw-r--r--news/husky-hpt/Makefile4
-rw-r--r--news/husky-htick-devel/Makefile4
-rw-r--r--news/husky-htick/Makefile4
-rw-r--r--news/husky-msged/Makefile2
6 files changed, 22 insertions, 15 deletions
diff --git a/news/husky-base/Makefile b/news/husky-base/Makefile
index 11d74e0..6069718 100644
--- a/news/husky-base/Makefile
+++ b/news/husky-base/Makefile
@@ -19,15 +19,9 @@ USE_REINPLACE= yes
post-patch:
@${REINPLACE_CMD} \
- -e 's^/usr/local^${PREFIX}^' \
- -e 's^CFGDIR=/etc/fido^CFGDIR=${PREFIX}/etc/fido^' \
- -e 's^# INFODIR=/usr/local/info^INFODIR=${PREFIX}/info^' \
- -e 's^#HTMLDIR=$$(PREFIX)/lib/husky^HTMLDIR=${PREFIX}/share/doc/husky^' \
- -e 's^$$(CFGDIR)/msged.cfg^~/.msged^' \
- -e 's^CC=gcc^CC=${CC}^' \
- -e 's^CXX=g++^CXX=${CXX}^' \
- -e 's^MKSHARED=gcc^MKSHARED=${CC}^' \
- -e 's^OPTCFLAGS=^OPTCFLAGS=-c ${CFLAGS}^' \
+ -e 's^CFGDIR=/etc/fido^CFGDIR=$$(PREFIX)/etc/fido^' \
+ -e 's^# INFODIR=/usr/local^INFODIR=$$(PREFIX)^' \
+ -e 's^#HTMLDIR=$$(PREFIX)/lib/husky^HTMLDIR=$$(PREFIX)/share/doc/husky^' \
${WRKSRC}/huskymak.cfg
pre-install:
diff --git a/news/husky-base/Makefile.inc b/news/husky-base/Makefile.inc
index 867a175..d42808f 100644
--- a/news/husky-base/Makefile.inc
+++ b/news/husky-base/Makefile.inc
@@ -15,6 +15,17 @@ BUILD_DEPENDS= ${LOCALBASE}/etc/fido/huskymak.cfg:${PORTSDIR}/news/husky-base
USE_GMAKE= yes
+MAKE_ARGS+= PREFIX="${PREFIX}" \
+ CC="${CC}" CXX="${CXX}" GPP="${CXX}" MKSHARED="${CC}" \
+ OPTCFLAGS="-c ${CFLAGS}" WARNFLAGS=""
+
+.if !defined(WITHOUT_PERL)
+MAKE_ARGS+= PERL=1
+USE_PERL5= yes
+.else
+MAKE_ARGS+= PERL=0
+.endif
+
pre-build:
@${LN} -sf ${LOCALBASE}/etc/fido/huskymak.cfg ${WRKDIR}
.endif
diff --git a/news/husky-hpt/Makefile b/news/husky-hpt/Makefile
index 0149998..25d52b4 100644
--- a/news/husky-hpt/Makefile
+++ b/news/husky-hpt/Makefile
@@ -29,10 +29,10 @@ post-patch:
${WRKSRC}/man/txt2pkt.1
post-build:
- @cd ${WRKSRC}/doc && ${GMAKE}
+ @cd ${WRKSRC}/doc && ${GMAKE} ${MAKE_ARGS} all
post-install:
- @cd ${WRKSRC}/doc && ${GMAKE} install
+ @cd ${WRKSRC}/doc && ${GMAKE} ${MAKE_ARGS} install
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/news/husky-base/Makefile.inc"
diff --git a/news/husky-htick-devel/Makefile b/news/husky-htick-devel/Makefile
index 5e13808..e134ae6 100644
--- a/news/husky-htick-devel/Makefile
+++ b/news/husky-htick-devel/Makefile
@@ -24,10 +24,10 @@ post-patch:
${WRKSRC}/man/htick.1
post-build:
- @cd ${WRKSRC}/doc && ${GMAKE}
+ @cd ${WRKSRC}/doc && ${GMAKE} ${MAKE_ARGS} all
post-install:
- @cd ${WRKSRC}/doc && ${GMAKE} install
+ @cd ${WRKSRC}/doc && ${GMAKE} ${MAKE_ARGS} install
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/news/husky-base/Makefile.inc"
diff --git a/news/husky-htick/Makefile b/news/husky-htick/Makefile
index 5e13808..e134ae6 100644
--- a/news/husky-htick/Makefile
+++ b/news/husky-htick/Makefile
@@ -24,10 +24,10 @@ post-patch:
${WRKSRC}/man/htick.1
post-build:
- @cd ${WRKSRC}/doc && ${GMAKE}
+ @cd ${WRKSRC}/doc && ${GMAKE} ${MAKE_ARGS} all
post-install:
- @cd ${WRKSRC}/doc && ${GMAKE} install
+ @cd ${WRKSRC}/doc && ${GMAKE} ${MAKE_ARGS} install
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/news/husky-base/Makefile.inc"
diff --git a/news/husky-msged/Makefile b/news/husky-msged/Makefile
index bb5c8d3..484d965 100644
--- a/news/husky-msged/Makefile
+++ b/news/husky-msged/Makefile
@@ -17,6 +17,8 @@ LIB_DEPENDS= fidoconfig.0:${PORTSDIR}/news/husky-fidoconf
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+MAKE_ARGS= MSGEDCFG="\\\"~/.msged\\\""
+
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/news/husky-base/Makefile.inc"
.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud