Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jan 2002 20:51:51 -0800 (PST)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/33565: Update port: print/ghostscript-afpl
Message-ID:  <200201050451.g054ppl34215@freefall.freebsd.org>

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

>Number:         33565
>Category:       ports
>Synopsis:       Update port: print/ghostscript-afpl
>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:   Fri Jan 04 21:00:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.4-RELEASE i386
>Organization:
>Environment:
>Description:
- Add "-O0" when building HPinkjet server
  (Server binary dumps core when compiled with optimization)
- Change WWW: line to more appropriate one

Problem reported at ports/33479 can be solved with this PR.

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/print/ghostscript-afpl/Makefile print/ghostscript-afpl/Makefile
--- /usr/ports/print/ghostscript-afpl/Makefile	Fri Jan  4 18:07:46 2002
+++ print/ghostscript-afpl/Makefile	Sat Jan  5 06:08:46 2002
@@ -170,8 +170,9 @@
 	${PERL} -pi -e 's|\. de|\.|g' \
 		${WRKSRC}/src/unixinst.mak
 # for HPinkjet driver
-	${PERL} -pi -e 's|CFLAGS="-O2 -Wall"||g ; \
-		 s|CXXFLAGS="-O2 -Wall"||g' ${WRKSRC}/${HPIJS_NAME}/configure
+	${PERL} -pi -e 's|CFLAGS="-O2 -Wall"|CFLAGS="\$$CFLAGS -O0"|g ; \
+		 s|CXXFLAGS="-O2 -Wall"|CXXFLAGS="\$$CXXFLAGS -O0"|g' \
+			${WRKSRC}/${HPIJS_NAME}/configure
 	find ${WRKSRC}/${HPIJS_NAME} -name '*.h' | xargs ${PERL} -pi -e \
 		's|#include <malloc.h>||g'
 
diff -urN /usr/ports/print/ghostscript-afpl/pkg-descr print/ghostscript-afpl/pkg-descr
--- /usr/ports/print/ghostscript-afpl/pkg-descr	Fri Sep 28 19:38:46 2001
+++ print/ghostscript-afpl/pkg-descr	Sat Jan  5 04:15:34 2002
@@ -21,4 +21,5 @@
 	  - http://hpinkjet.sourceforge.net/
 	o Additional contributed uniprint driver profiles for
 	  - Epson Stylus Color 740 and Epson LQ-1170
-WWW: http://www.cs.wisc.edu/~ghost/index.html
+
+WWW: http://www.cs.wisc.edu/~ghost/doc/AFPL/index.html

>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?200201050451.g054ppl34215>