svn commit: r353146 - head/devel/pcre

Tijl Coosemans tijl at FreeBSD.org
Wed May 7 10:27:58 UTC 2014


Author: tijl
Date: Wed May  7 10:27:57 2014
New Revision: 353146
URL: http://svnweb.freebsd.org/changeset/ports/353146
QAT: https://qat.redports.org/buildarchive/r353146/

Log:
  - USES=libtool:oldver tar:bzip2.
  - INSTALL_TARGET=install-strip.
  - Remove -fPIC from CFLAGS.
  - Remove old Clang hack.
  - Use MAKE_CMD.

Modified:
  head/devel/pcre/Makefile

Modified: head/devel/pcre/Makefile
==============================================================================
--- head/devel/pcre/Makefile	Wed May  7 10:12:04 2014	(r353145)
+++ head/devel/pcre/Makefile	Wed May  7 10:27:57 2014	(r353146)
@@ -3,6 +3,7 @@
 
 PORTNAME=	pcre
 PORTVERSION=	8.34
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} \
 		ftp://ftp.csx.cam.ac.uk/pub/software/programming/%SUBDIR%/ \
@@ -16,14 +17,13 @@ COMMENT=	Perl Compatible Regular Express
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENCE
 
-USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
+USES=		libtool:oldver pathfix tar:bzip2
 USE_LDCONFIG=	yes
-USES=	pathfix
 CONFIGURE_ARGS=	--enable-utf --enable-unicode-properties \
 		--enable-pcre8 --enable-pcre16 --enable-pcre32 \
 		--enable-pcretest-libedit
-MAKE_ENV+=	INSTALL_STRIP_FLAG="${STRIP}"
+INSTALL_TARGET=	install-strip
 
 OPTIONS_DEFINE=		STACK_RECURSION
 OPTIONS_DEFAULT=	STACK_RECURSION
@@ -48,10 +48,6 @@ PORTDOCS=	*
 CONFIGURE_ARGS+=	--disable-stack-for-recursion
 .endif
 
-.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
-CFLAGS+=	-fPIC
-.endif
-
 # Optional knobs that accept positive integer parameters (see pcrebuild(3)):
 
 # Allow the use of very large patterns (> 64K) with the 8- and 16-bit
@@ -90,8 +86,6 @@ post-patch:
 	@${REINPLACE_CMD} -E -e '/^install-data-am/,/^$$/ s,install-(dist_doc|dist_html|html)DATA,,g' \
 		${WRKSRC}/Makefile.in
 .endif
-# work around for a autoconf assumption, to fix c++ linking with clang
-	@${REINPLACE_CMD} -e 's|GREP "\\-L"|GREP "conftest\\.$$objext"|g' ${WRKSRC}/configure
 
 #prevent regression test coredumps from causing failures on the
 #package-building cluster:
@@ -103,7 +97,7 @@ TESTLOGS?=	RunGrepTest RunTest pcre_jit_
 
 check regression-test test: build
 	@cd ${WRKSRC} ; \
-	${SETENV} ${MAKE_ENV} ${CORELIMIT} ${MAKE} ${MAKE_ARGS} check ; \
+	${SETENV} ${MAKE_ENV} ${CORELIMIT} ${MAKE_CMD} ${MAKE_ARGS} check ; \
 	for _l in ${TESTLOGS} ; do if ${TEST} -f $${_l}.log ; then \
 	${PRINTF} "\n\n$${_l}.log\n\n\n" ; ${CAT} $${_l}.log ; fi ; done
 


More information about the svn-ports-all mailing list