View | Details | Raw Unified | Return to bug 51384
Collapse All | Expand All

(-)print/pnm2ppa/Makefile (-6 / +2 lines)
Lines 17-31 Link Here
17
RUN_DEPENDS=	gs:${PORTSDIR}/print/ghostscript-gnu \
17
RUN_DEPENDS=	gs:${PORTSDIR}/print/ghostscript-gnu \
18
		enscript:${PORTSDIR}/print/enscript-letter
18
		enscript:${PORTSDIR}/print/enscript-letter
19
19
20
USE_GETOPT_LONG=	yes
20
MAKE_ENV=	LDFLAGS="${LDFLAGS}"	
21
MAKE_ENV=	LDFLAGS="${LDFLAGS}"	
22
CFLAGS+=	${CPPFLAGS}
21
23
22
MAN1=		pnm2ppa.1
24
MAN1=		pnm2ppa.1
23
24
.if !exists(/usr/include/getopt.h)
25
LIB_DEPENDS+=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
26
CFLAGS+=	-I${LOCALBASE}/include
27
LDFLAGS+=	-L${LOCALBASE}/lib -lgnugetopt
28
.endif
29
25
30
post-patch:
26
post-patch:
31
	@${SED} -e "s:%%PREFIX%%:${PREFIX}:g" \
27
	@${SED} -e "s:%%PREFIX%%:${PREFIX}:g" \

Return to bug 51384