Date: Wed, 4 Oct 2017 07:34:04 +0000 (UTC) From: Alex Dupre <ale@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r451181 - in head/print/pdflib: . files Message-ID: <201710040734.v947Y4aq098917@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ale Date: Wed Oct 4 07:34:04 2017 New Revision: 451181 URL: https://svnweb.freebsd.org/changeset/ports/451181 Log: Fix build on powerpc and strip binaries. PR: 222722 Submitted by: Mark Millard <markmi@dsl-only.net> Added: head/print/pdflib/files/patch-libs_pdcore_pc__config.h (contents, props changed) Modified: head/print/pdflib/Makefile Modified: head/print/pdflib/Makefile ============================================================================== --- head/print/pdflib/Makefile Wed Oct 4 06:03:16 2017 (r451180) +++ head/print/pdflib/Makefile Wed Oct 4 07:34:04 2017 (r451181) @@ -28,10 +28,6 @@ PERL_USES= perl5 .include <bsd.port.pre.mk> -.if ${ARCH} == "amd64" || ${ARCH} == "sparc64" -CONFIGURE_ARGS+=--enable-64bit -.endif - .if ${PORT_OPTIONS:MPERL} PLIST_SUB= PERL="" CONFIGURE_ARGS+=--with-perl=${PERL} @@ -52,6 +48,8 @@ PLIST_SUB+= JAVA="@comment " .endif post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pdfimage ${STAGEDIR}${PREFIX}/bin/text2pdf \ + ${STAGEDIR}${PREFIX}/lib/libpdf.so.6.0.5 ${MKDIR} ${STAGEDIR}${DATADIR}/fonts ${INSTALL_DATA} ${WRKSRC}/fonts/* ${STAGEDIR}${DATADIR}/fonts .if ${PORT_OPTIONS:MJAVA} Added: head/print/pdflib/files/patch-libs_pdcore_pc__config.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/print/pdflib/files/patch-libs_pdcore_pc__config.h Wed Oct 4 07:34:04 2017 (r451181) @@ -0,0 +1,11 @@ +--- libs/pdcore/pc_config.h.orig 2017-10-04 07:15:35 UTC ++++ libs/pdcore/pc_config.h +@@ -180,7 +180,7 @@ + /* try to identify Mac OS 9 compilers */ + + #if (defined macintosh || defined __POWERPC__ || defined __CFM68K__) && \ +- !defined MAC && !defined MACOSX && !defined __BEOS__ ++ !defined MAC && !defined MACOSX && !defined __BEOS__ && !defined __FreeBSD__ + #define MAC + #endif +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710040734.v947Y4aq098917>