Date: Wed, 12 Sep 2001 09:00:03 -0700 (PDT) From: KATO Tsuguru <tkato@prontomail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/30522: Update port: print/ghostscript-gnu Message-ID: <200109121600.f8CG03g47286@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 30522 >Category: ports >Synopsis: Update port: print/ghostscript-gnu >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Sep 12 09:10:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: 4.3-RELEASE i386 >Organization: >Environment: >Description: - Fix compilation error when A4 is defined >How-To-Repeat: >Fix: diff -urN /usr/ports/print/ghostscript-gnu/Makefile print/ghostscript-gnu/Makefile --- /usr/ports/print/ghostscript-gnu/Makefile Wed Sep 12 22:23:57 2001 +++ print/ghostscript-gnu/Makefile Wed Sep 12 22:24:39 2001 @@ -47,7 +47,7 @@ ps2pdf.1 ps2pdf13.1 .if defined(A4) -CFLAGS+- -DA4 +MAKE_ENV= A4="${A4}" .endif .if !defined(WITHOUT_X11) diff -urN /usr/ports/print/ghostscript-gnu/files/patch-src:unix-gcc.mak print/ghostscript-gnu/files/patch-src:unix-gcc.mak --- /usr/ports/print/ghostscript-gnu/files/patch-src:unix-gcc.mak Wed Sep 12 04:12:18 2001 +++ print/ghostscript-gnu/files/patch-src:unix-gcc.mak Wed Sep 12 22:42:00 2001 @@ -1,5 +1,5 @@ --- src/unix-gcc.mak.orig Tue Jun 5 16:54:10 2001 -+++ src/unix-gcc.mak Fri Jun 15 04:11:50 2001 ++++ src/unix-gcc.mak Wed Sep 12 22:41:20 2001 @@ -27,14 +27,15 @@ # source, generated intermediate file, and object directories # for the graphics library (GL) and the PostScript/PDF interpreter (PS). @@ -90,16 +90,21 @@ # Define the name of the linker for the final link step. # Normally this is the same as the C compiler. -@@ -218,7 +219,7 @@ +@@ -216,9 +217,11 @@ + # We don't include -ansi, because this gets in the way of the platform- + # specific stuff that <math.h> typically needs; nevertheless, we expect # gcc to accept ANSI-style function prototypes and function definitions. - XCFLAGS= +-XCFLAGS= ++ifdef A4 ++XCFLAGS=-DA4 ++endif -CFLAGS=$(CFLAGS_STANDARD) $(GCFLAGS) $(XCFLAGS) -+#CFLAGS=$(CFLAGS_STANDARD) $(GCFLAGS) $(XCFLAGS) ++CFLAGS+=$(XCFLAGS) # Define platform flags for ld. # SunOS 4.n may need -Bstatic. -@@ -227,7 +228,7 @@ +@@ -227,7 +230,7 @@ # -R /usr/local/xxx/lib:/usr/local/lib # giving the full path names of the shared library directories. # XLDFLAGS can be set from the command line. @@ -108,7 +113,7 @@ LDFLAGS=$(XLDFLAGS) -fno-common -@@ -260,7 +261,7 @@ +@@ -260,7 +263,7 @@ # Note that x_.h expects to find the header files in $(XINCLUDE)/X11, # not in $(XINCLUDE). @@ -117,7 +122,7 @@ # Define the directory/ies and library names for the X11 library files. # XLIBDIRS is for ld and should include -L; XLIBDIR is for LD_RUN_PATH -@@ -272,12 +273,12 @@ +@@ -272,12 +275,12 @@ # Solaris and other SVR4 systems with dynamic linking probably want #XLIBDIRS=-L/usr/openwin/lib -R/usr/openwin/lib # X11R6 (on any platform) may need >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109121600.f8CG03g47286>