Date: Sat, 1 Feb 2003 02:05:24 +0900 From: KATO Tsuguru <tkato@prontomail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/47754: Update port: print/pnm2ppa Message-ID: <20030201020524.10a55185.tkato@prontomail.com>
next in thread | raw e-mail | index | archive | help
>Number: 47754 >Category: ports >Synopsis: Update port: print/pnm2ppa >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: Fri Jan 31 09:10:18 PST 2003 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.7-RELEASE-p3 i386 >Organization: >Environment: >Description: - Conditionalize libgnugetopt dependencies >How-To-Repeat: >Fix: diff -urN /usr/ports/print/pnm2ppa/Makefile print/pnm2ppa/Makefile --- /usr/ports/print/pnm2ppa/Makefile Mon Nov 25 22:19:38 2002 +++ print/pnm2ppa/Makefile Sun Jan 26 14:17:04 2003 @@ -13,11 +13,18 @@ MAINTAINER= ports@FreeBSD.org -LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript-gnu \ enscript:${PORTSDIR}/print/enscript-letter +MAKE_ENV= LDFLAGS="${LDFLAGS}" + MAN1= pnm2ppa.1 + +.if !exists(/usr/include/getopt.h) +LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt +CFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib -lgnugetopt +.endif post-patch: @${SED} -e "s:%%PREFIX%%:${PREFIX}:g" \ diff -urN /usr/ports/print/pnm2ppa/files/patch-aa print/pnm2ppa/files/patch-aa --- /usr/ports/print/pnm2ppa/files/patch-aa Tue Nov 19 22:32:01 2002 +++ print/pnm2ppa/files/patch-aa Sun Jan 26 14:16:05 2003 @@ -16,8 +16,8 @@ -CFLAGS=-Wall -pedantic -O2 -LDFLAGS=-lm +CC?=gcc -+CFLAGS+=-DCONFDIR=\"$(CONFDIR)\" -I${LOCALBASE}/include -+LDFLAGS=-lm -L${LOCALBASE}/lib -lgnugetopt ++CFLAGS+=-DCONFDIR=\"$(CONFDIR)\" ++LDFLAGS+=-lm INSTALL=install # Install under Linux and other versions with the -b (backup) option >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030201020524.10a55185.tkato>