svn commit: r368174 - head/security/steghide
Tijl Coosemans
tijl at FreeBSD.org
Sun Sep 14 13:59:39 UTC 2014
Author: tijl
Date: Sun Sep 14 13:59:38 2014
New Revision: 368174
URL: http://svnweb.freebsd.org/changeset/ports/368174
QAT: https://qat.redports.org/buildarchive/r368174/
Log:
- Switch to USES=libtool:build
- Respect CXXFLAGS
Modified:
head/security/steghide/Makefile
Modified: head/security/steghide/Makefile
==============================================================================
--- head/security/steghide/Makefile Sun Sep 14 13:19:57 2014 (r368173)
+++ head/security/steghide/Makefile Sun Sep 14 13:59:38 2014 (r368174)
@@ -17,17 +17,15 @@ LIB_DEPENDS= libmcrypt.so:${PORTSDIR}/se
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= gettext perl5 gmake libtool
-USE_AUTOTOOLS= libtoolize
+USES= gettext gmake libtool:build perl5
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include -fpermissive
LIBS+= -L${LOCALBASE}/lib -lintl -lmcrypt
+MAKE_ARGS= LIBTOOL="${LOCALBASE}/bin/libtool"
OPTIONS_DEFINE= DOCS
post-patch:
- ${REINPLACE_CMD} -e 's,SHELL) libtool,SHELL) ${LIBTOOL} --tag=CXX,' \
- ${WRKSRC}/src/Makefile.in
- ${REINPLACE_CMD} -e 's,-O2,${CFLAGS},' ${WRKSRC}/configure
+ @${REINPLACE_CMD} '/CXXFLAGS=/s|-O2|${CXXFLAGS}|' ${WRKSRC}/configure
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list