Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Apr 2014 20:08:59 +0200
From:      Zsolt Udvari <udvzsolt@gmail.com>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        udvzsolt@gmail.com
Subject:   ports/188864: [PATCH] print/splix staging support, fix cups depend
Message-ID:  <53555eee.c15a0f0a.26e6.ffffeb2b@mx.google.com>
Resent-Message-ID: <201404211810.s3LIA31F023418@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         188864
>Category:       ports
>Synopsis:       [PATCH] print/splix staging support, fix cups depend
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 21 18:10:03 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Zsolt Udvari
>Release:        FreeBSD 10.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD bsd-zsolt 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
print/splix staging support
cups-config is part of cups-client (not cups-base)
>How-To-Repeat:
>Fix:


--- splix.diff begins here ---
diff -ur splix.orig/Makefile splix/Makefile
--- splix.orig/Makefile	2014-04-21 20:01:28.000000000 +0200
+++ splix/Makefile	2014-04-21 20:06:11.000000000 +0200
@@ -9,11 +9,10 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	CUPS printer drivers for Samsung Printer Language printers
 
-BUILD_DEPENDS=	cups-config:${PORTSDIR}/print/cups-base
+BUILD_DEPENDS=	cups-config:${PORTSDIR}/print/cups-client
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
-USE_GMAKE=	yes
-USE_BZIP2=	yes
+USES=	gmake tar:bzip2
 
 MODELS=		DELL SAMSUNG XEROX
 PPD_DELL=	1100 1110
@@ -42,7 +41,6 @@
 BLACKOPTIM_DESC=	Enable black correction algorithm
 OPTIONS_DEFAULT=	JBIG BLACKOPTIM
 
-NO_STAGE=	yes
 .include "bsd.port.options.mk"
 
 post-patch:
@@ -69,15 +67,16 @@
 .endif
 
 do-install:
+	${MKDIR} ${STAGEDIR}${BIN_DEST_DIR}
 .for MODEL in ${MODELS}
-	${MKDIR} ${DEST_DIR_${MODEL}}
+	${MKDIR} ${STAGEDIR}${DEST_DIR_${MODEL}}
 .for PPD in $(PPD_${MODEL})
-	${INSTALL_DATA} ${WRKSRC}/ppd/${PPD}.ppd $(DEST_DIR_${MODEL})
+	${INSTALL_DATA} ${WRKSRC}/ppd/${PPD}.ppd ${STAGEDIR}$(DEST_DIR_${MODEL})
 .endfor
 .endfor
 
 .for FILTER in ${FILTER_FILE}
-	${INSTALL_PROGRAM} ${WRKSRC}/optimized/${FILTER} ${BIN_DEST_DIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/optimized/${FILTER} ${STAGEDIR}${BIN_DEST_DIR}
 .endfor
 
 .include <bsd.port.mk>
--- splix.diff ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53555eee.c15a0f0a.26e6.ffffeb2b>