Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Sep 2014 13:59:38 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r368174 - head/security/steghide
Message-ID:  <201409141359.s8EDxcf7023422@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409141359.s8EDxcf7023422>