Required graphics/libexif without any options.

This commit is contained in:
Andrey Slusar 2006-01-19 13:04:52 +00:00
parent a136276615
commit 4340105fb6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=153871

View file

@ -15,12 +15,11 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= anray@FreeBSD.org
COMMENT= Small and fast motif-based image viewer and editor
OPTIONS= LIBEXIF "Build with libexif" on
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff \
ungif.5:${PORTSDIR}/graphics/libungif
ungif.5:${PORTSDIR}/graphics/libungif \
exif.12:${PORTSDIR}/graphics/libexif
USE_GMAKE= yes
USE_X_PREFIX= yes
@ -37,14 +36,6 @@ PLIST_FILES= bin/exiftran bin/ida lib/X11/app-defaults/Ida
.include <bsd.port.pre.mk>
pre-fetch:
.if exists(${LOCALBASE}/lib/libexif.so)
WITH_LIBEXIF= yes
.endif
.if defined(WITH_LIBEXIF)
LIB_DEPENDS+= exif.12:${PORTSDIR}/graphics/libexif
.endif
post-patch:
.if ${OSVERSION} < 500000
@${REINPLACE_CMD} -e 's|PRId32|"d"|g' -e 's|PRIx32|"x"|g' \