[Midnightbsd-cvs] mports [21656] trunk/print/ghostscript8-base: handle cups depends

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Aug 14 23:17:55 EDT 2016


Revision: 21656
          http://svnweb.midnightbsd.org/mports/?rev=21656
Author:   laffer1
Date:     2016-08-14 23:17:55 -0400 (Sun, 14 Aug 2016)
Log Message:
-----------
handle cups depends

Modified Paths:
--------------
    trunk/print/ghostscript8-base/Makefile
    trunk/print/ghostscript8-base/Makefile.drivers
    trunk/print/ghostscript8-base/files/Makefile.drivers_post

Modified: trunk/print/ghostscript8-base/Makefile
===================================================================
--- trunk/print/ghostscript8-base/Makefile	2016-08-15 03:15:13 UTC (rev 21655)
+++ trunk/print/ghostscript8-base/Makefile	2016-08-15 03:17:55 UTC (rev 21656)
@@ -23,7 +23,8 @@
 		libjbig2dec.so:${PORTSDIR}/graphics/jbig2dec \
 		libpaper.so:${PORTSDIR}/print/libpaper \
 		libpng.so:${PORTSDIR}/graphics/png \
-		libtiff.so:${PORTSDIR}/graphics/tiff
+		libtiff.so:${PORTSDIR}/graphics/tiff \
+		libcups.so:${PORTSDIR}/print/cups
 RUN_DEPENDS=	${LOCALBASE}/share/${PORTNAME}/fonts/a010013l.pfb:${PORTSDIR}/print/gsfonts
 
 CONFLICTS_INSTALL= \
@@ -70,8 +71,8 @@
 SUB_FILES=	pkg-message
 PKGMESSAGE=	${WRKDIR}/pkg-message
 
-OPTIONS_DEFINE=	DOCS CAIRO CUPS FONTCONFIG ICONV
-OPTIONS_DEFAULT=DOCS CAIRO CUPS FONTCONFIG ICONV
+OPTIONS_DEFINE=	DOCS CAIRO FONTCONFIG ICONV
+OPTIONS_DEFAULT=DOCS CAIRO FONTCONFIG ICONV
 OPTIONS_SUB=	yes
 FONTCONFIG_DESC=Enable fontconfig support
 FONTCONFIG_LIB_DEPENDS=	libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig

Modified: trunk/print/ghostscript8-base/Makefile.drivers
===================================================================
--- trunk/print/ghostscript8-base/Makefile.drivers	2016-08-15 03:15:13 UTC (rev 21655)
+++ trunk/print/ghostscript8-base/Makefile.drivers	2016-08-15 03:17:55 UTC (rev 21656)
@@ -15,12 +15,9 @@
 OPTIONS_CAIRO= \
 	GS_cairo
 
-OPTIONS_CUPS= \
-	GS_cups
-
 OPTIONS_DEFINE+= \
 	${OPTIONS_CAIRO} \
-	${OPTIONS_CUPS} \
+	GS_cups \
 	GS_display \
 	GS_omni \
 	GS_md2k \
@@ -311,7 +308,7 @@
 	${OPTIONS_SVGALIB} \
 	${OPTIONS_ICONV} \
 	${OPTIONS_CAIRO} \
-	${OPTIONS_CUPS} \
+	GS_cups \
 	GS_display \
 	GS_omni \
 	GS_md2k \

Modified: trunk/print/ghostscript8-base/files/Makefile.drivers_post
===================================================================
--- trunk/print/ghostscript8-base/files/Makefile.drivers_post	2016-08-15 03:15:13 UTC (rev 21655)
+++ trunk/print/ghostscript8-base/files/Makefile.drivers_post	2016-08-15 03:17:55 UTC (rev 21656)
@@ -40,7 +40,7 @@
 .endfor
 
 .if defined(_CUPS_DEVS)
-LIB_DEPENDS+=	libcupsimage.so:${PORTSDIR}/print/cups
+LIB_DEPENDS+=	libcups.so:${PORTSDIR}/print/cups
 CONFIGURE_ARGS+=	--enable-cups
 .else
 CONFIGURE_ARGS+=	--disable-cups



More information about the Midnightbsd-cvs mailing list