aboutsummaryrefslogtreecommitdiff
path: root/print/cups-base
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2011-10-05 17:42:06 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2011-10-05 17:42:06 +0000
commitc5f9d688414fe1358bb5058820dbf411bc952063 (patch)
tree248a48eb7c6705780cf2a18ff059e6194182c149 /print/cups-base
parentecf3a9918ef96287e8b92f12189c1cf5822e3e9f (diff)
downloadports-c5f9d688414fe1358bb5058820dbf411bc952063.tar.gz
ports-c5f9d688414fe1358bb5058820dbf411bc952063.zip
Notes
Diffstat (limited to 'print/cups-base')
-rw-r--r--print/cups-base/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/print/cups-base/Makefile b/print/cups-base/Makefile
index 04f6b7ae1a15..14ddbf3ae77c 100644
--- a/print/cups-base/Makefile
+++ b/print/cups-base/Makefile
@@ -95,6 +95,8 @@ LIB_DEPENDS+= cups.2:${PORTSDIR}/${PKGCATEGORY}/cups-client \
jpeg.11:${PORTSDIR}/graphics/jpeg \
png.6:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff
+# force build if old cups is installed.
+BUILD_DEPENDS+= cups-client>=${PORTVERSION}:${PORTSDIR}/${PKGCATEGORY}/cups-client
COMMENT2= Library cupsimage
CONFIGURE_ARGS+= --disable-pdftops
INSTALL_WRKSRC= ${WRKSRC}/filter
@@ -103,10 +105,11 @@ USE_LDCONFIG= yes
PKGMESSAGE= ${NONEXISTENT}
DESCR= ${MASTERDIR}/pkg-descr.image
.else
-LIB_DEPENDS+= cups.2:${PORTSDIR}/${PKGCATEGORY}/cups-client \
- cupsimage.2:${PORTSDIR}/${PKGCATEGORY}/cups-image
+LIB_DEPENDS+= cups.2:${PORTSDIR}/${PKGCATEGORY}/cups-client
+LIB_DEPENDS+= cupsimage.2:${PORTSDIR}/${PKGCATEGORY}/cups-image
# force build if old cups is installed.
-BUILD_DEPENDS+= ${LOCALBASE}/lib/libcups.a:${PORTSDIR}/${PKGCATEGORY}/cups-client
+BUILD_DEPENDS+= cups-client>=${PORTVERSION}:${PORTSDIR}/${PKGCATEGORY}/cups-client
+BUILD_DEPENDS+= cups-image>=${PORTVERSION}:${PORTSDIR}/${PKGCATEGORY}/cups-image
COMMENT2= Server
USE_RC_SUBR= cupsd
PLIST_SUB+= CACHEDIR="${CUPS_CACHEDIR}"