diff options
author | Alex Dupre <ale@FreeBSD.org> | 2017-10-04 07:34:04 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2017-10-04 07:34:04 +0000 |
commit | 2cdc46338d1ec4ec1e653ba99ba8a3fd12fde3d6 (patch) | |
tree | ec1b0133b35cab14663d19c2d8505eb56063f48a | |
parent | Add USES=gmake to unbreak the build for now. (diff) |
Fix build on powerpc and strip binaries.
PR: 222722
Submitted by: Mark Millard <markmi@dsl-only.net>
Notes
Notes:
svn path=/head/; revision=451181
-rw-r--r-- | print/pdflib/Makefile | 6 | ||||
-rw-r--r-- | print/pdflib/files/patch-libs_pdcore_pc__config.h | 11 |
2 files changed, 13 insertions, 4 deletions
diff --git a/print/pdflib/Makefile b/print/pdflib/Makefile index e3359ba84f7c..bead1429e327 100644 --- a/print/pdflib/Makefile +++ b/print/pdflib/Makefile @@ -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} diff --git a/print/pdflib/files/patch-libs_pdcore_pc__config.h b/print/pdflib/files/patch-libs_pdcore_pc__config.h new file mode 100644 index 000000000000..9e95e61b5a98 --- /dev/null +++ b/print/pdflib/files/patch-libs_pdcore_pc__config.h @@ -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 + |