Date: Wed, 11 Sep 2013 13:14:23 +0000 (UTC) From: Michael Reifenberger <mr@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r326976 - head/graphics/opennurbs Message-ID: <201309111314.r8BDENhd084919@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mr Date: Wed Sep 11 13:14:22 2013 New Revision: 326976 URL: http://svnweb.freebsd.org/changeset/ports/326976 Log: To get at least qcad compiled under clang/amd64 add -fpic to the compile flags. Reviewed by: Vaclav Hala Approved by: maintainer(timeout, > 14 days) Modified: head/graphics/opennurbs/Makefile Modified: head/graphics/opennurbs/Makefile ============================================================================== --- head/graphics/opennurbs/Makefile Wed Sep 11 12:59:14 2013 (r326975) +++ head/graphics/opennurbs/Makefile Wed Sep 11 13:14:22 2013 (r326976) @@ -19,6 +19,12 @@ MAKE_ARGS= CC=${CC} CCC=${CXX} MAKEFILE= makefile EXAMPLESDIR= ${PREFIX}/libexec/openNURBS +.include <bsd.port.pre.mk> + +.if ${ARCH} != i386 +MAKE_ARGS+= ON_GNU_OPTIMIZER_FLAGS="-g -fPIC" +.endif + pre-build: ${ICONV_CMD} -c -f utf-8 -t ascii ${WRKSRC}/opennurbs_version.h > ${WRKSRC}/opennurbs_version.h.tmp || ${TRUE} @${MV} ${WRKSRC}/opennurbs_version.h.tmp ${WRKSRC}/opennurbs_version.h @@ -33,4 +39,4 @@ do-install: @${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/openNURBS/ @${INSTALL_DATA} ${WRKSRC}/zlib/*.h ${PREFIX}/include/openNURBS/zlib -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309111314.r8BDENhd084919>