Index: Makefile =================================================================== RCS file: /home/ncvs/ports/news/tin/Makefile,v retrieving revision 1.153 diff -u -u -r1.153 Makefile --- Makefile 9 Jul 2011 13:15:26 -0000 1.153 +++ Makefile 11 Jul 2011 14:34:48 -0000 @@ -62,6 +62,7 @@ --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 @@ 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 @@ ${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}