1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Remove major-number specifications from most of the entries in

LIB_DEPENDS.  ImageMagick will  compile  with any  version of  -ljpeg,
-ljbig, -lmpeg2, -lbz2, -lfpx,  -lfreetype, -lxml2, -lpng, -llcms. I'm
not sure about -ltiff (we had the old, incompatible version ported for
a while as recently as a few years ago) and -lltdl (libtool).

This should  make this port  more resilient  to upgrades to  the other
ports and make it easier to  build by people, who already have earlier
versions of the other libraries installed.

The idea -- of not requiring particular versions in some/most cases --
in general was discussed on -ports.
This commit is contained in:
Mikhail Teterin 2002-01-21 17:26:30 +00:00
parent 41cbe7f8a7
commit 91d30168b6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53466

View File

@ -31,16 +31,16 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}
MAINTAINER= ports@FreeBSD.org
BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2 # XXX
LIB_DEPENDS= fpx.1:${PORTSDIR}/graphics/libfpx \
jbig.1:${PORTSDIR}/graphics/jbigkit \
jpeg.9:${PORTSDIR}/graphics/jpeg \
lcms.1:${PORTSDIR}/graphics/lcms \
png.5:${PORTSDIR}/graphics/png \
LIB_DEPENDS= fpx:${PORTSDIR}/graphics/libfpx \
jbig:${PORTSDIR}/graphics/jbigkit \
jpeg:${PORTSDIR}/graphics/jpeg \
lcms:${PORTSDIR}/graphics/lcms \
png:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff \
freetype.8:${PORTSDIR}/print/freetype2 \
xml2.5:${PORTSDIR}/textproc/libxml2
freetype:${PORTSDIR}/print/freetype2 \
xml2:${PORTSDIR}/textproc/libxml2
.if !exists(/usr/bin/bzip2)
LIB_DEPENDS+= bz2.1:${PORTSDIR}/archivers/bzip2
LIB_DEPENDS+= bz2:${PORTSDIR}/archivers/bzip2
.endif
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
@ -100,7 +100,7 @@ RUN_DEPENDS+= gs:${PORTSDIR}/print/ghostscript-gnu-nox11
CONFIGURE_ARGS+= --without-x --without-mpeg2 --without-wmf
PLIST_SUB+= X11='@comment '
.else
LIB_DEPENDS+= mpeg2.0:${PORTSDIR}/graphics/libmpeg2 \
LIB_DEPENDS+= mpeg2:${PORTSDIR}/graphics/libmpeg2 \
wmf.2:${PORTSDIR}/graphics/libwmf
BUILD_DEPENDS+= gs:${PORTSDIR}/print/ghostscript-gnu
RUN_DEPENDS+= gs:${PORTSDIR}/print/ghostscript-gnu