From owner-svn-ports-head@freebsd.org Wed Feb 15 14:48:55 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D1F83CDF837; Wed, 15 Feb 2017 14:48:55 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 9F0731F40; Wed, 15 Feb 2017 14:48:55 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v1FEms3u080231; Wed, 15 Feb 2017 14:48:54 GMT (envelope-from tijl@FreeBSD.org) Received: (from tijl@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v1FEmsxe080230; Wed, 15 Feb 2017 14:48:54 GMT (envelope-from tijl@FreeBSD.org) Message-Id: <201702151448.v1FEmsxe080230@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tijl set sender to tijl@FreeBSD.org using -f From: Tijl Coosemans Date: Wed, 15 Feb 2017 14:48:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r434166 - head/textproc/ltxml X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Feb 2017 14:48:55 -0000 Author: tijl Date: Wed Feb 15 14:48:54 2017 New Revision: 434166 URL: https://svnweb.freebsd.org/changeset/ports/434166 Log: Add -fPIC for all architectures because textproc/py-ltxml links libltapi12.a and libltstd12.a into a shared library. Modified: head/textproc/ltxml/Makefile Modified: head/textproc/ltxml/Makefile ============================================================================== --- head/textproc/ltxml/Makefile Wed Feb 15 14:14:55 2017 (r434165) +++ head/textproc/ltxml/Makefile Wed Feb 15 14:48:54 2017 (r434166) @@ -3,6 +3,7 @@ PORTNAME= ltxml PORTVERSION= 1.2.9 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= GENTOO \ ftp://ftp.cogsci.ed.ac.uk/pub/LTXML/ @@ -19,22 +20,20 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/XML USES= gmake perl5 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-zlib=/usr --datadir=${STAGEDIR}${PREFIX}/lib/ltxml12 +# textproc/py-ltxml links libltapi12.a and libltstd12.a into a shared library. +CFLAGS+= -fPIC -.include +.include .if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} CFLAGS+= -Wuninitialized -ffast-math -finline-functions \ -fomit-frame-pointer -fexpensive-optimizations -O3 .endif -.if ${ARCH} == "amd64" || ${ARCH} == "ia64" -CFLAGS+= -fPIC -.endif - post-patch: @${REINPLACE_CMD} -e 's|CFLAGS=.*$$|CFLAGS=\$$CFLAGS|g ; \ s|CXXFLAGS=.*$$|CXXFLAGS=\$$CXXFLAGS|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|@prefix@|${STAGEDIR}${PREFIX}|' \ ${WRKSRC}/src/Makefile.sub.in -.include +.include