diff options
author | Johan van Selst <johans@FreeBSD.org> | 2011-07-11 18:50:32 +0000 |
---|---|---|
committer | Johan van Selst <johans@FreeBSD.org> | 2011-07-11 18:50:32 +0000 |
commit | 178dcec81545dbcd278a19ced49f81a1b9dd741f (patch) | |
tree | b4cf76e6223d5fc2db2ff8af08ba91cc47b31fbe /news/tin | |
parent | 0043da7f2f7cf7373bd5be310d0b8f1476202c29 (diff) |
- Fix build with WITH_CANLOCK option set.
- Fix build with FORCE_MAKE_JOBS by enforcing use of GNU make.
PR: ports/158805
Submitted by: mandree
Notes
Notes:
svn path=/head/; revision=277558
Diffstat (limited to 'news/tin')
-rw-r--r-- | news/tin/Makefile | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/news/tin/Makefile b/news/tin/Makefile index 22a97cd6675a..935fb625b5eb 100644 --- a/news/tin/Makefile +++ b/news/tin/Makefile @@ -62,6 +62,7 @@ CONFIGURE_ARGS+=--with-nntp-default-server=news \ --with-libiconv-prefix=${LOCALBASE} \ --with-mime-default-charset=US-ASCII \ --enable-ipv6 +MAKE_ARGS+= MAKE=${GMAKE} CFLAGS+= -DNNTP_SERVER_FILE=\\\"${PREFIX}/etc/nntpserver\\\" CPPFLAGS+= -I${LOCALBASE}/include CONFIGURE_ENV= LDFLAGS='${LDFLAGS} -L${LOCALBASE}/lib' @@ -96,6 +97,10 @@ RUN_DEPENDS+= metamail:${PORTSDIR}/mail/metamail CONFIGURE_ARGS+= --with-metamail=${PREFIX}/bin/metamail .endif +.ifdef WITH_CANLOCK +CONFIGURE_ARGS+= --enable-cancel-locks +.endif + .ifdef WITHOUT_NLS CONFIGURE_ARGS+= --disable-nls PLIST_SUB+= NLS="@comment " @@ -123,16 +128,6 @@ post-patch: ${MV} ${WRKSRC}/tools/url_handler.pl \ ${WRKSRC}/tools/tinurl_handler.pl -.ifdef WITH_CANLOCK -MAKE_ARGS+= CANLIB='-L../libcanlock -lcanlock' \ - CANLOCK=-DUSE_CANLOCK -.endif - -pre-build: -.ifdef WITH_CANLOCK - cd ${WRKSRC}/src; ${GMAKE} canlock -.endif - post-build: .ifndef WITHOUT_NLS cd ${WRKSRC}/po; ${GMAKE} |