ports/51384: Update port: print/pnm2ppa
KATO Tsuguru
tkato at prontomail.com
Thu Apr 24 16:40:55 UTC 2003
>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:
More information about the freebsd-ports-bugs
mailing list