Date: Wed, 15 Feb 2017 14:48:54 +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: r434166 - head/textproc/ltxml Message-ID: <201702151448.v1FEmsxe080230@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk> +.include <bsd.port.options.mk> .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 <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702151448.v1FEmsxe080230>