From owner-svn-ports-all@FreeBSD.ORG Mon May 5 15:51:04 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D3A41857; Mon, 5 May 2014 15:51:04 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C166F1C13; Mon, 5 May 2014 15:51:04 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s45Fp4JI062396; Mon, 5 May 2014 15:51:04 GMT (envelope-from johans@svn.freebsd.org) Received: (from johans@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s45Fp4mU062395; Mon, 5 May 2014 15:51:04 GMT (envelope-from johans@svn.freebsd.org) Message-Id: <201405051551.s45Fp4mU062395@svn.freebsd.org> From: Johan van Selst Date: Mon, 5 May 2014 15:51:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r353028 - head/textproc/flex X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 May 2014 15:51:04 -0000 Author: johans Date: Mon May 5 15:51:04 2014 New Revision: 353028 URL: http://svnweb.freebsd.org/changeset/ports/353028 QAT: https://qat.redports.org/buildarchive/r353028/ Log: Make sure static library libfl_pic.a contains position independent code. This fixes compilation of ports that insist on linking this library into a shared object file (specifically devel/libmatheval). While here, remove unused ranlib patch lines. PR: ports/189323 Submitted by: tijl Modified: head/textproc/flex/Makefile Modified: head/textproc/flex/Makefile ============================================================================== --- head/textproc/flex/Makefile Mon May 5 15:31:20 2014 (r353027) +++ head/textproc/flex/Makefile Mon May 5 15:51:04 2014 (r353028) @@ -2,6 +2,7 @@ PORTNAME= flex PORTVERSION= 2.5.39 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= SF/${PORTNAME} @@ -16,7 +17,7 @@ USES= bison gmake tar:bzip2 GNU_CONFIGURE= yes # install flex header to its own dir to avoid conflict with system flex. CONFIGURE_ARGS= --includedir=${PREFIX}/include/flex --disable-shared -CONFIGURE_ENV= M4=${LOCALBASE}/bin/gm4 +CONFIGURE_ENV= M4=${LOCALBASE}/bin/gm4 MAKEINFO="makeinfo --no-split" INSTALL_TARGET= install-strip INFO= flex @@ -28,11 +29,8 @@ NLS_CONFIGURE_ENABLE= nls post-patch: .SILENT ${REINPLACE_CMD} -Ee 's/tests//' \ - -e 's/^([[:space:]]*)\$$\(RANLIB\) ([^ ;]*)/\1chmod u+w \2;&/' \ - -e '/echo.*RANLIB/,+1d' \ + -e '/mode=compile ..CC/s/\\$$/-fPIC -DPIC &/' \ ${WRKSRC}/Makefile.in - ${REINPLACE_CMD} -e 's/@MAKEINFO@/& --no-split/g' \ - ${WRKSRC}/doc/Makefile.in ${RM} -f ${WRKSRC}/doc/*.info* .include