Import of pkgsrc-2014Q1
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
# $NetBSD: Makefile,v 1.5 2013/06/04 22:16:58 tron Exp $
|
||||
# $NetBSD: Makefile,v 1.10 2014/03/13 11:08:52 jperkin Exp $
|
||||
|
||||
DISTNAME= ghostscript-${GS_VERSION}
|
||||
PKGNAME= ${DISTNAME:S/ghostscript/ghostscript-gpl/}
|
||||
PKGREVISION= 6
|
||||
PKGREVISION= 8
|
||||
CATEGORIES= print
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ghostscript/}
|
||||
MASTER_SITES+= http://ghostscript.com/releases/
|
||||
@@ -12,6 +12,9 @@ MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= http://ghostscript.sourceforge.net/
|
||||
COMMENT= Postscript interpreter
|
||||
|
||||
# iconfig.c compiled before gconfig.h is created
|
||||
MAKE_JOBS_SAFE=no
|
||||
|
||||
# Plus adobe verbatim for Resources/CMap.
|
||||
LICENSE= gnu-gpl-v3
|
||||
|
||||
@@ -23,6 +26,7 @@ CONFLICTS+= ghostscript-afpl-[0-9]*
|
||||
CONFLICTS+= ghostscript-esp{,-nox11}-[0-9]*
|
||||
CONFLICTS+= ghostscript-gnu{,-nox11,-x11}-[0-9]*
|
||||
|
||||
USE_GCC_RUNTIME= yes
|
||||
USE_TOOLS+= gmake perl:run lex pkg-config
|
||||
USE_LANGUAGES+= c c++
|
||||
GNU_CONFIGURE= yes
|
||||
@@ -82,6 +86,9 @@ BUILDLINK_TRANSFORM+= l:fontconfig:fontconfig:iconv
|
||||
|
||||
CONFIGURE_ENV+= LPLIBDIR=${PREFIX}/lib
|
||||
|
||||
# On OpenBSD 5.3, libxcb is required libXt.
|
||||
LDFLAGS.OpenBSD+= -lxcb
|
||||
|
||||
.include "options.mk"
|
||||
|
||||
post-extract:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# $NetBSD: Makefile.common,v 1.1 2013/03/16 21:32:00 dholland Exp $
|
||||
# $NetBSD: Makefile.common,v 1.3 2014/01/10 01:35:42 mef Exp $
|
||||
# used by print/ghostscript-gpl/Makefile
|
||||
# used (potentially) by fonts/ghostscript-cidfonts/Makefile
|
||||
# used (potentially) by fonts/ghostscript-cidfonts-ryumin/Makefile
|
||||
# used by fonts/ghostscript-cidfonts/Makefile
|
||||
# used by fonts/ghostscript-cidfonts-ryumin/Makefile
|
||||
|
||||
GS_VERSION= 9.05
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# $NetBSD: buildlink3.mk,v 1.3 2013/06/04 22:16:58 tron Exp $
|
||||
# $NetBSD: buildlink3.mk,v 1.4 2014/02/12 23:18:29 tron Exp $
|
||||
|
||||
BUILDLINK_TREE+= ghostscript-gpl
|
||||
|
||||
@@ -6,7 +6,7 @@ BUILDLINK_TREE+= ghostscript-gpl
|
||||
GHOSTSCRIPT_GPL_BUILDLINK3_MK:=
|
||||
|
||||
BUILDLINK_API_DEPENDS.ghostscript-gpl+= ghostscript-gpl>=8.63nb1
|
||||
BUILDLINK_ABI_DEPENDS.ghostscript-gpl+= ghostscript-gpl>=9.05nb6
|
||||
BUILDLINK_ABI_DEPENDS.ghostscript-gpl+= ghostscript-gpl>=9.05nb7
|
||||
BUILDLINK_PKGSRCDIR.ghostscript-gpl?= ../../print/ghostscript-gpl
|
||||
|
||||
.include "../../graphics/png/buildlink3.mk"
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
$NetBSD: distinfo,v 1.1 2013/03/16 21:32:00 dholland Exp $
|
||||
$NetBSD: distinfo,v 1.2 2013/10/05 05:13:07 ryoon Exp $
|
||||
|
||||
SHA1 (ghostscript-9.05.tar.bz2) = 1a54a846e90ae95b5307f4f0459d044b9597d8cf
|
||||
RMD160 (ghostscript-9.05.tar.bz2) = 27935f60083b788b2793b19ee42f3663082ba084
|
||||
Size (ghostscript-9.05.tar.bz2) = 28279634 bytes
|
||||
SHA1 (patch-CVE-2012-4405) = 1dcb4cfeceb366c144e0a1337c6ccc2d8e13e4ca
|
||||
SHA1 (patch-af) = 79af4d253001f879f1b5d3ef93584ae7300361de
|
||||
SHA1 (patch-af) = 79b06a2b5b73486a0b7e0a6e2b14e105579f8a1f
|
||||
SHA1 (patch-ah) = 35d6e3a4623bb28e59526f61a3062874cc363429
|
||||
SHA1 (patch-ai) = 8a3de7e097d3d893a0de4ea2936acf192f770c65
|
||||
SHA1 (patch-aj) = 620d921210b5c0efec0a84e33bc416e4ab4bd11c
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# $NetBSD: options.mk,v 1.1 2013/03/16 21:32:00 dholland Exp $
|
||||
# $NetBSD: options.mk,v 1.2 2014/02/21 18:09:02 richard Exp $
|
||||
|
||||
PKG_OPTIONS_VAR= PKG_OPTIONS.ghostscript
|
||||
PKG_SUPPORTED_OPTIONS= x11 cups debug fontconfig disable-compile-inits
|
||||
PKG_SUGGESTED_OPTIONS= x11 fontconfig
|
||||
PKG_SUPPORTED_OPTIONS= x11 cups debug fontconfig disable-compile-inits utf8
|
||||
PKG_SUGGESTED_OPTIONS= x11 fontconfig utf8
|
||||
|
||||
.include "../../mk/bsd.options.mk"
|
||||
|
||||
@@ -60,3 +60,10 @@ PLIST.no_cidfmap= YES
|
||||
.else
|
||||
PLIST.cidfmap= YES
|
||||
.endif
|
||||
|
||||
.if !empty(PKG_OPTIONS:Mutf8)
|
||||
.include "../../converters/libiconv/buildlink3.mk"
|
||||
CONFIGURE_ARGS+= --with-libiconv=${ICONV_TYPE}
|
||||
.else
|
||||
CONFIGURE_ARGS+= --with-libiconv=no
|
||||
.endif
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
$NetBSD: patch-af,v 1.1 2013/03/16 21:32:01 dholland Exp $
|
||||
$NetBSD: patch-af,v 1.2 2013/10/05 05:13:07 ryoon Exp $
|
||||
|
||||
(From the log for revision 1.4 of print/ghostscript/patches/patch-af)
|
||||
date: 2008/11/13 17:36:54; author: chuck; state: Exp; lines: +22 -4
|
||||
@@ -14,9 +14,9 @@ XXX: this still leaves the issue of libgs.so (et al.) being hardwired
|
||||
in PLIST, instead of using libgs.dylib (et al.). i'm not sure of
|
||||
the best way to fix that. at least it compiles now....
|
||||
|
||||
--- base/unix-dll.mak.orig 2012-08-08 17:01:36.000000000 +0900
|
||||
+++ base/unix-dll.mak 2012-10-10 10:03:50.000000000 +0900
|
||||
@@ -59,13 +59,12 @@
|
||||
--- base/unix-dll.mak.orig 2012-02-08 08:48:48.000000000 +0000
|
||||
+++ base/unix-dll.mak
|
||||
@@ -58,13 +58,12 @@ LDFLAGS_SO=-shared -Wl,$(LD_SET_DT_SONAM
|
||||
|
||||
|
||||
# MacOS X
|
||||
@@ -35,17 +35,17 @@ the best way to fix that. at least it compiles now....
|
||||
|
||||
GS_SO=$(BINDIR)/$(GS_SONAME)
|
||||
GS_SO_MAJOR=$(BINDIR)/$(GS_SONAME_MAJOR)
|
||||
@@ -86,11 +85,11 @@
|
||||
@@ -85,11 +84,11 @@ $(GS_SO_MAJOR): $(GS_SO_MAJOR_MINOR)
|
||||
# Build the small Ghostscript loaders, with Gtk+ and without
|
||||
$(GSSOC_XE): $(GS_SO) $(PSSRC)$(SOC_LOADER)
|
||||
$(GLCC) -g -o $(GSSOC_XE) $(PSSRC)dxmainc.c \
|
||||
- -L$(BINDIR) -l$(GS)
|
||||
+ -L$(BINDIR) -Wl,-R$(PREFIX)/lib -l$(GS)
|
||||
+ -L$(BINDIR) -Wl,-R$(PREFIX)/lib -l$(GS) ${LDFLAGS}
|
||||
|
||||
$(GSSOX_XE): $(GS_SO) $(PSSRC)$(SOC_LOADER)
|
||||
$(GLCC) -g $(SOC_CFLAGS) -o $(GSSOX_XE) $(PSSRC)$(SOC_LOADER) \
|
||||
- -L$(BINDIR) -l$(GS) $(SOC_LIBS)
|
||||
+ -L$(BINDIR) -l$(GS) -Wl,-R$(PREFIX)/lib -l$(GS) $(SOC_LIBS)
|
||||
+ -L$(BINDIR) -l$(GS) -Wl,-R$(PREFIX)/lib -l$(GS) $(SOC_LIBS) ${LDFLAGS}
|
||||
|
||||
# ------------------------- Recursive make targets ------------------------- #
|
||||
|
||||
|
||||
Reference in New Issue
Block a user