Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jan 2002 05:56:24 -0800 (PST)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/34027: Update port: print/ghostscript-gnu
Message-ID:  <200201181356.g0IDuOo95283@freefall.freebsd.org>

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

>Number:         34027
>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:   Fri Jan 18 06:00:03 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.4-RELEASE i386
>Organization:
>Environment:
>Description:
- Support CFLAGS/CXXFLAGS properly

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/print/ghostscript-gnu/Makefile print/ghostscript-gnu/Makefile
--- /usr/ports/print/ghostscript-gnu/Makefile	Fri Jan 18 18:00:37 2002
+++ print/ghostscript-gnu/Makefile	Fri Jan 18 22:49:09 2002
@@ -165,6 +165,9 @@
 	${PERL} -pi -e 's|^DEVICE_DEVS|#DEVICE_DEVS|g' \
 		${WRKSRC}/src/unix-gcc.mak
 # for HPinkjet driver
+	${PERL} -pi -e 's|CFLAGS="-O2 -Wall"|CFLAGS="\$$CFLAGS"|g ; \
+		 s|CXXFLAGS="-O2 -Wall"|CXXFLAGS="\$$CXXFLAGS"|g' \
+			${WRKSRC}/${HPIJS_NAME}/configure
 	find ${WRKSRC}/${HPIJS_NAME} -name '*.h' | xargs ${PERL} -pi -e \
 		's|#include <malloc.h>||g'
 

>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?200201181356.g0IDuOo95283>