DragonFly BSD
DragonFly submit List (threaded) for 2004-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Patch for cups-base


From: Matthias Grimm <eisofen@xxxxxxxxxxx>
Date: Thu, 22 Jul 2004 19:43:24 +0200

Hello..

since I need cups I decided to make a patch for cups-base's /usr/local/etc/rc.d/cups.sh.sample

just cp -r cups-base from freebsd's ports into dfports, patch the Makefile and copy the patch-cups-sh-in into files.

Matthias
--- Makefile.orig	2004-07-22 19:39:39.000000000 +0200
+++ Makefile	2004-07-22 19:29:38.000000000 +0200
@@ -52,7 +52,7 @@
 	${CHMOD} -R g+w ${CUPS_SPOOLDIR}
 	@${CAT} ${PKGMESSAGE}
 
-.include "${.CURDIR}/../../print/cups/Makefile.common"
-.include <bsd.port.pre.mk>
+.include "${.CURDIR}/../../../ports/print/cups/Makefile.common"
+.include <bsd.dfport.pre.mk>
 .include "${FILESDIR}/manpages.mk"
-.include <bsd.port.post.mk>
+.include <bsd.dfport.post.mk>
--- cups.sh.in.orig	2004-07-22 19:17:28.000000000 +0200
+++ cups.sh.in	2004-07-22 19:18:48.000000000 +0200
@@ -57,7 +57,7 @@
 		ECHO_ERROR=:
 		;;
 
-	*BSD*)
+	*BSD* | Dragon*)
         	IS_ON=:
 		ECHO=echo
 		ECHO_OK=:
@@ -145,7 +145,7 @@
 	OSF1*)
 		pid=`ps -e | awk '{if (match($5, ".*/cupsd$") || $5 == "cupsd") print $1}'`
 		;;
-	Linux* | *BSD* | Darwin*)
+	Linux* | *BSD* | Darwin* | Dragon*)
 		pid=`ps ax | awk '{if (match($5, ".*/cupsd$") || $5 == "cupsd") print $1}'`
 		;;
 	*)


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]