aboutsummaryrefslogtreecommitdiff
path: root/security/steghide
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-09-14 13:59:38 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-09-14 13:59:38 +0000
commit32f08ba6235725231eea3fff11d8dbf5160d0d54 (patch)
treed5cd34934ed7123e0ed176076e91a72de7e03c99 /security/steghide
parentfa0aa3493a45d9bbe679c40b1ffa1bbf017a40e3 (diff)
downloadports-32f08ba6235725231eea3fff11d8dbf5160d0d54.tar.gz
ports-32f08ba6235725231eea3fff11d8dbf5160d0d54.zip
- Switch to USES=libtool:build
- Respect CXXFLAGS
Notes
Notes: svn path=/head/; revision=368174
Diffstat (limited to 'security/steghide')
-rw-r--r--security/steghide/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/security/steghide/Makefile b/security/steghide/Makefile
index 8dc3e63240cd..f781f900439f 100644
--- a/security/steghide/Makefile
+++ b/security/steghide/Makefile
@@ -17,17 +17,15 @@ LIB_DEPENDS= libmcrypt.so:${PORTSDIR}/security/libmcrypt \
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>