SHARED_LIBS

This commit is contained in:
sturm 2006-01-02 22:43:10 +00:00
parent 807763b193
commit f3f4734f33
4 changed files with 28 additions and 10 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.29 2006/01/02 20:08:42 sturm Exp $
# $OpenBSD: Makefile,v 1.30 2006/01/02 22:43:10 sturm Exp $
COMMENT= "AFPL PostScript interpreter"
@ -6,6 +6,7 @@ VERSION= 8.14
DISTNAME= ghostscript-${VERSION}
PKGNAME= ${DISTNAME}p4
CATEGORIES= print lang
SHARED_LIBS= gs 8.14
DIR= AFPL/gs${VERSION:S/.//}
MASTER_SITES= ${GS_SITES}
@ -54,7 +55,8 @@ BASE_FLAGS= INSTALL_PROGRAM='${INSTALL_SCRIPT}' \
PSOBJDIR=./objects \
PSGENDIR=./objects \
STDLIBS='-pthread -lm' \
DEVICE_DEVS=
DEVICE_DEVS= \
LIBgs_VERSION=${LIBgs_VERSION}
PDFDIR=share/ghostscript/${VERSION}/lib

View File

@ -1,9 +1,9 @@
$OpenBSD: patch-lib_ps2epsi,v 1.1 2004/10/24 21:53:02 brad Exp $
--- lib/ps2epsi.orig Sun Oct 24 17:48:10 2004
+++ lib/ps2epsi Sun Oct 24 17:48:32 2004
$OpenBSD: patch-lib_ps2epsi,v 1.2 2006/01/02 22:43:10 sturm Exp $
--- lib/ps2epsi.orig Thu Feb 21 22:49:28 2002
+++ lib/ps2epsi Mon Jan 2 21:30:45 2006
@@ -1,7 +1,7 @@
#!/bin/sh
# $Id: patch-lib_ps2epsi,v 1.1 2004/10/24 21:53:02 brad Exp $
# $Id: patch-lib_ps2epsi,v 1.2 2006/01/02 22:43:10 sturm Exp $
-tmpfile=/tmp/ps2epsi$$
+tmpfile=`mktemp -t ps2epsiXXXXXXXXXX` || exit 1

View File

@ -1,6 +1,22 @@
$OpenBSD: patch-src_unix-dll_mak,v 1.4 2005/01/25 17:19:33 alek Exp $
$OpenBSD: patch-src_unix-dll_mak,v 1.5 2006/01/02 22:43:10 sturm Exp $
--- src/unix-dll.mak.orig Fri Dec 12 23:08:05 2003
+++ src/unix-dll.mak Tue Jan 25 13:30:49 2005
+++ src/unix-dll.mak Mon Jan 2 22:00:12 2006
@@ -46,11 +46,11 @@ GSSOX=$(BINDIR)/$(SOBINRELDIR)/$(GSSOX_X
# shared library
GS_SONAME=lib$(GS).so
-GS_SONAME_MAJOR=$(GS_SONAME).$(GS_VERSION_MAJOR)
-GS_SONAME_MAJOR_MINOR= $(GS_SONAME).$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR)
+GS_SONAME_MAJOR=$(GS_SONAME).$(LIBgs_VERSION:R)
+GS_SONAME_MAJOR_MINOR= $(GS_SONAME).$(LIBgs_VERSION)
GS_SO=$(BINDIR)/$(GS_SONAME)
-GS_SO_MAJOR=$(GS_SO).$(GS_VERSION_MAJOR)
-GS_SO_MAJOR_MINOR=$(GS_SO_MAJOR).$(GS_VERSION_MINOR)
+GS_SO_MAJOR=$(GS_SO).$(LIBgs_VERSION:R)
+GS_SO_MAJOR_MINOR=$(GS_SO).$(LIBgs_VERSION)
# Shared object is built by redefining GS_XE in a recursive make.
@@ -70,11 +70,11 @@ $(GSSOX_XE): $(GS_SO) $(GLSRC)dxmain.c
$(GLCC) -g `gtk-config --cflags` -o $(GSSOX_XE) $(GLSRC)dxmain.c -L$(BINDIR) -l$(GS) `gtk-config --libs`

View File

@ -1,6 +1,6 @@
@comment $OpenBSD: PFRAG.gtk,v 1.4 2004/09/15 18:32:14 espie Exp $
@comment $OpenBSD: PFRAG.gtk,v 1.5 2006/01/02 22:43:10 sturm Exp $
bin/gsc
bin/gsx
@lib lib/libgs.so.${VERSION}
@lib lib/libgs.so.${LIBgs_VERSION}
@comment lib/libgs.so.8
@comment lib/libgs.so