Use graphics/jbig2dec for libjbig2dec instead of the bundled one.

Submitted by:	mi
This commit is contained in:
Hiroki Sato 2010-08-03 15:39:45 +00:00
parent ca488fa30e
commit cf15b47e2e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=258699
2 changed files with 3 additions and 13 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= ghostscript8
PORTVERSION= 8.71
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= print
MASTER_SITES= http://ghostscript.com/releases/:gs_srcs \
SF/ghostscript/files/GPL%20Ghostscript/${PORTVERSION}:gs_srcs \
@ -25,6 +25,7 @@ COMMENT= Ghostscript 8.x PostScript interpreter
LIB_DEPENDS= expat:${PORTSDIR}/textproc/expat2 \
jasper:${PORTSDIR}/graphics/jasper \
jbig2dec:${PORTSDIR}/graphics/jbig2dec \
jpeg:${PORTSDIR}/graphics/jpeg \
png:${PORTSDIR}/graphics/png \
tiff:${PORTSDIR}/graphics/tiff
@ -84,7 +85,7 @@ MLINKS= gslp.1 gsbj.1 \
ps2ps.1 eps2eps.1
CIDFONTDIR= ${DATADIR}/${PORTVERSION}/Resource
EXCLUDE_DIRS= jpeg expat jasper libpng tiff zlib
EXCLUDE_DIRS= jbig2dec jpeg expat jasper libpng tiff zlib
.include "Makefile.drivers"
.include <bsd.port.pre.mk>

View File

@ -1,11 +0,0 @@
--- jbig2dec/os_types.h.orig Thu Dec 29 04:56:24 2005
+++ jbig2dec/os_types.h Sun May 28 01:10:59 2006
@@ -47,7 +47,7 @@
#if defined(HAVE_STDINT_H) || defined(__MACOS__)
# include <stdint.h>
-#elif defined(__VMS)
+#elif defined(__VMS) || defined(__FreeBSD__)
# include <inttypes.h>
#endif