Date: Wed, 25 Dec 2013 19:16:49 +0000 (UTC) From: Pawel Pekala <pawel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337439 - head/www/cntlm Message-ID: <201312251916.rBPJGnSw066524@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pawel Date: Wed Dec 25 19:16:49 2013 New Revision: 337439 URL: http://svnweb.freebsd.org/changeset/ports/337439 Log: Fix build on -current PR: ports/184902 Submitted by: KATO Tsuguru <tkato432@yahoo.com> Modified: head/www/cntlm/Makefile Modified: head/www/cntlm/Makefile ============================================================================== --- head/www/cntlm/Makefile Wed Dec 25 18:38:20 2013 (r337438) +++ head/www/cntlm/Makefile Wed Dec 25 19:16:49 2013 (r337439) @@ -17,14 +17,29 @@ HAS_CONFIGURE= yes ALL_TARGET= cntlm post-patch: - @${REINPLACE_CMD} -e 's|DESTDIR=|DESTDIR=${PREFIX}|' \ - -e 's|CC=|CC?=|' \ - -e 's|-Wno-unused-but-set-variable -pedantic -O3||' \ - ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e \ + 's|$$(DESTDIR)/etc|$$(PREFIX)/etc| ; \ + s|^CC=|CC?=| ; \ + s| -Wno-unused-but-set-variable | | ; \ + s| -pedantic | | ; \ + s| -O3 | | ; \ + s|@$$(CC)|$$(CC)| ; \ + s|@if|if| ; \ + s|-lpthread|-pthread|' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e \ + 's|^CCS=|#CCS=| ; \ + s|mv |: | ; \ + s|ln |: |' ${WRKSRC}/configure + +post-build: + @${LN} -sf cntlm.conf ${WRKSRC}/doc/cntlm.conf.sample do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/cntlm ${STAGEDIR}${PREFIX}/bin/ - ${INSTALL_DATA} ${WRKSRC}/doc/cntlm.conf ${STAGEDIR}${PREFIX}/etc/cntlm.conf.sample - ${INSTALL_MAN} ${WRKSRC}/doc/cntlm.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + (cd ${WRKSRC} && ${INSTALL_PROGRAM} cntlm \ + ${STAGEDIR}${PREFIX}/bin) + (cd ${WRKSRC}/doc && ${INSTALL_DATA} cntlm.conf.sample \ + ${STAGEDIR}${PREFIX}/etc) + (cd ${WRKSRC}/doc && ${INSTALL_MAN} cntlm.1 \ + ${STAGEDIR}${MANPREFIX}/man/man1) .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312251916.rBPJGnSw066524>