1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

PR: 52611

Submitted by:	MAINTAINER
Fixing detection of pdflib.so.5 since it has changed from ports/pdflib4 to
ports/pdflib.
This commit is contained in:
Foxfair Hu 2003-06-01 00:05:11 +00:00
parent 0e6d03dfe9
commit 8a9ea85479
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=81784

View File

@ -7,7 +7,7 @@
PORTNAME= pike72
PORTVERSION= 7.2.492
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= ftp://ftp.oav.net/pkg_freebsd/distfiles/ \
http://ftp.oav.net/pkg_freebsd/distfiles/ \
@ -106,7 +106,7 @@ WITH_SANE= yes
WITH_MESA= yes
.endif
.if exists(${LOCALBASE}/lib/libpdf.so.4)
.if exists(${LOCALBASE}/lib/libpdf.so.5)
WITH_PDF= yes
.endif
@ -180,7 +180,7 @@ CONFIGURE_ARGS+= --without-sane
.endif
.if defined(WITH_PDF)
LIB_DEPENDS+= pdf.5:${PORTSDIR}/print/pdflib4
LIB_DEPENDS+= pdf.5:${PORTSDIR}/print/pdflib
CONFIGURE_ARGS+= --with-libpdf
.else
CONFIGURE_ARGS+= --without-libpdf