Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Apr 2003 01:30:14 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/51384: Update port: print/pnm2ppa
Message-ID:  <20030425013014.70bbd01d.tkato@prontomail.com>
Resent-Message-ID: <200304241640.h3OGeM5d051327@freefall.freebsd.org>

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

>Number:         51384
>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:   Thu Apr 24 09:40:22 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
>Description:
- Utilize USE_GETOPT_LONG

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/print/pnm2ppa/Makefile print/pnm2ppa/Makefile
--- /usr/ports/print/pnm2ppa/Makefile	Sat Apr 12 23:15:24 2003
+++ print/pnm2ppa/Makefile	Thu Apr 24 03:58:48 2003
@@ -17,15 +17,11 @@
 RUN_DEPENDS=	gs:${PORTSDIR}/print/ghostscript-gnu \
 		enscript:${PORTSDIR}/print/enscript-letter
 
+USE_GETOPT_LONG=	yes
 MAKE_ENV=	LDFLAGS="${LDFLAGS}"	
+CFLAGS+=	${CPPFLAGS}
 
 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" \
>Release-Note:
>Audit-Trail:
>Unformatted:



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