Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 2008 19:48:51 +0200 (CEST)
From:      Ulrich Spoerlein <uspoerlein@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        doceng@FreeBSD.org
Subject:   ports/127278: [PATCH] print/ghostscript7: Unbreak WITH_SHLIB
Message-ID:  <200809101748.m8AHmpSK089306@coyote.spoerlein.net>
Resent-Message-ID: <200809101800.m8AI0CAb055550@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         127278
>Category:       ports
>Synopsis:       [PATCH] print/ghostscript7: Unbreak WITH_SHLIB
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 10 18:00:12 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Ulrich Spoerlein
>Release:        FreeBSD 6.3-STABLE i386
>Organization:
>Environment:
>Description:
I haven't updated my ports tree in a while, but recently ghostscript7 got broken
when WITH_SHLIB is defined. I'm not using this port and haven't tested this change,
but this unbreaks my INDEX build and seems the right thing to do.

Port maintainer (doceng@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:

% cd /usr/ports/print/ghostscript7
% __MAKE_CONF=/dev/null make describe
ghostscript7-7.07_20|/usr/ports/print/ghostscript7|/usr/local|Ghostscript 7.x PostScript interpreter|/usr/ports/print/ghostscript7/pkg-descr|doceng@FreeBSD.org|print||||/usr/ports/devel/gmake /usr/ports/graphics/jpeg /usr/ports/graphics/png /usr/ports/x11-toolkits/libXt /usr/ports/x11/libXext|/usr/ports/graphics/jpeg /usr/ports/graphics/png /usr/ports/print/gsfonts /usr/ports/x11-toolkits/libXt /usr/ports/x11/libXext|http://www.cs.wisc.edu/~ghost/doc/gnu/index.htm
% __MAKE_CONF=/dev/null make describe -DWITH_SHLIB
"/usr/ports/Mk/bsd.gnome.mk", line 614: The Pre include part of bsd.gnome.mk part is not included. Did you forget WANT_GNOME=yes before bsd.port.pre.mk?


After the patch:

% __MAKE_CONF=/dev/null make describe -DWITH_SHLIB
ghostscript7-7.07_20|/usr/ports/print/ghostscript7|/usr/local|Ghostscript 7.x PostScript interpreter|/usr/ports/print/ghostscript7/pkg-descr|doceng@FreeBSD.org|print||||/usr/ports/devel/glib12 /usr/ports/devel/gmake /usr/ports/devel/pkg-config /usr/ports/graphics/jpeg /usr/ports/graphics/png /usr/ports/x11-toolkits/gtk12 /usr/ports/x11-toolkits/libXt /usr/ports/x11/libXext|/usr/ports/devel/glib12 /usr/ports/devel/pkg-config /usr/ports/graphics/jpeg /usr/ports/graphics/png /usr/ports/print/gsfonts /usr/ports/x11-toolkits/gtk12 /usr/ports/x11-toolkits/libXt /usr/ports/x11/libXext|http://www.cs.wisc.edu/~ghost/doc/gnu/index.htm
% __MAKE_CONF=/dev/null make describe
ghostscript7-7.07_20|/usr/ports/print/ghostscript7|/usr/local|Ghostscript 7.x PostScript interpreter|/usr/ports/print/ghostscript7/pkg-descr|doceng@FreeBSD.org|print||||/usr/ports/devel/gmake /usr/ports/graphics/jpeg /usr/ports/graphics/png /usr/ports/x11-toolkits/libXt /usr/ports/x11/libXext|/usr/ports/graphics/jpeg /usr/ports/graphics/png /usr/ports/print/gsfonts /usr/ports/x11-toolkits/libXt /usr/ports/x11/libXext|http://www.cs.wisc.edu/~ghost/doc/gnu/index.htm

>Fix:

--- ghostscript7-7.07_20.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/print/ghostscript7/Makefile,v
retrieving revision 1.133
diff -u -p -u -r1.133 Makefile
--- Makefile	25 Jul 2008 12:24:08 -0000	1.133
+++ Makefile	10 Sep 2008 17:45:38 -0000
@@ -34,6 +34,7 @@ CONFLICTS=	gambc-* ghostscript8-*
 
 USE_BZIP2=	yes
 USE_GMAKE=	yes
+WANT_GNOME=	yes
 GNU_CONFIGURE=	yes
 MAKE_ENV=	CFLAGS_STANDARD="${CFLAGS}" \
 		XCFLAGS="${XCFLAGS}" XLDFLAGS="${XLDFLAGS}" \
--- ghostscript7-7.07_20.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809101748.m8AHmpSK089306>