Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jan 2003 00:16:26 +0100 (CET)
From:      Oliver Lehmann <lehmann@ans-netz.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Oliver Lehmann <lehmann@ans-netz.de>
Subject:   ports/47232: update-port: sysutils/xcdroast
Message-ID:  <200301192316.h0JNGQ6O040239@kartoffel.salatschuessel.net>

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

>Number:         47232
>Category:       ports
>Synopsis:       update-port: sysutils/xcdroast
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 19 15:20:02 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Lehmann
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD kartoffel.salatschuessel.net 4.7-STABLE FreeBSD 4.7-STABLE #2: Mon Jan 13 08:18:55 CET 2003 olivleh1@kartoffel.salatschuessel.net:/usr/obj/usr/src/sys/KARTOFFEL i386


>Description:
	remove the usage of PERL
	the last patchfile got removed :)
>How-To-Repeat:
>Fix:


--- xcdroast.patch begins here ---
diff -ruN xcdroast.old/Makefile /usr/ports/sysutils/xcdroast/Makefile
--- xcdroast.old/Makefile	Mon Jan 20 00:03:33 2003
+++ /usr/ports/sysutils/xcdroast/Makefile	Mon Jan 20 00:09:58 2003
@@ -26,6 +26,8 @@
 CONFIGURE_ENV+=	GTK_CONFIG="${GTK_CONFIG}" \
 		GLIB_CONFIG="${GLIB_CONFIG}"
 
+CONFIGURE_ARGS=	--with-cdrtools-prefix=${LOCALBASE}
+
 MAN1=		xcdroast.1
 
 .if defined(WITH_NONROOT)
@@ -46,10 +48,6 @@
 	@${ECHO} "          - if you are really in need of it (with the attendant"
 	@${ECHO} "         circumstanceces noticed above) or not."
 	@${ECHO} ""
-
-post-patch:
-	@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g; \
-	                 s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/src/xcdroast.h;
 
 post-install:
 .if defined(WITH_NONROOT)
diff -ruN xcdroast.old/files/patch-src::xcdroast.h /usr/ports/sysutils/xcdroast/files/patch-src::xcdroast.h
--- xcdroast.old/files/patch-src::xcdroast.h	Mon Jan 20 00:03:33 2003
+++ /usr/ports/sysutils/xcdroast/files/patch-src::xcdroast.h	Thu Jan  1 01:00:00 1970
@@ -1,19 +0,0 @@
---- src/xcdroast.h.orig	Fri Dec 27 18:57:24 2002
-+++ src/xcdroast.h	Fri Dec 27 18:59:40 2002
-@@ -99,11 +99,11 @@
-    then in $PREFIX (e.g. /usr/bin/cdrecord instead of 
-    /usr/local/lib/xcdroast-0.98/bin/cdrecord) */
- 
--#define CDRECORD "bin/cdrecord" 
--#define CDRECORDPRODVD "bin/cdrecord.prodvd" 
--#define CDDA2WAV "bin/cdda2wav"
--#define READCD "bin/readcd"
--#define MKISOFS "bin/mkisofs"
-+#define CDRECORD "%%LOCALBASE%%/bin/cdrecord" 
-+#define CDRECORDPRODVD "%%LOCALBASE%%/bin/cdrecord.prodvd" 
-+#define CDDA2WAV "%%LOCALBASE%%/bin/cdda2wav"
-+#define READCD "%%LOCALBASE%%/bin/readcd"
-+#define MKISOFS "%%LOCALBASE%%/bin/mkisofs"
- 
- /* MINIMUM required versions. Greater versions are now silently
-    accepted. 
--- xcdroast.patch ends here ---


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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301192316.h0JNGQ6O040239>