Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Apr 2002 20:15:47 +0300 (EEST)
From:      Olexander Kunytsa <kunia@kunia.com.ua>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/37427: audio/fmio: fix-up PR:ports/37401 + some comments from author
Message-ID:  <200204241715.g3OHFlWF048664@wwwportal.ukma.kiev.ua>

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

>Number:         37427
>Category:       ports
>Synopsis:       audio/fmio: fix-up PR:ports/37401 + some comments from author
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 24 10:20:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Olexander Kunytsa
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
ISTC
>Environment:
System: FreeBSD wwwportal.ukma.kiev.ua 4.5-STABLE FreeBSD 4.5-STABLE #1: Sun Feb 17 13:10:10 EET 2002 root@wwwportal.ukma.kiev.ua:/usr/obj/usr/src/sys/WWWPORTAL i386


>Description:
There was a mistake during solving PR:ports/37401 with files/bktrctl.sh file, 
 which is fixed in the patch below. Also changed 'WITH_XTREME' to 'WITH_BKTR' 
on the author comment.
>How-To-Repeat:
>Fix:

Apply the patch:

diff -ur fmio.old/Makefile fmio/Makefile
--- fmio.old/Makefile	Wed Apr 24 19:50:08 2002
+++ fmio/Makefile	Wed Apr 24 19:54:39 2002
@@ -16,20 +16,20 @@
 MANCOMPRESSED=	no
 
 pre-build:
-.if !defined(WITH_XTREME)
+.if !defined(WITH_BKTR)
 	@${ECHO_MSG}
-	@${ECHO_MSG} "If you want to compile with Highway Xtreme support,"
-	@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_XTREME=yes\""
+	@${ECHO_MSG} "If you want to compile with bktr-based tuners support,"
+	@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_BKTR=yes\""
 	@${ECHO_MSG}
 .endif
 
 post-build:
-.if defined(WITH_XTREME)
+.if defined(WITH_BKTR)
 	@${MAKE} ${WRKSRC}/utils/bktrctl
 .endif
 
 do-install:
-.if defined(WITH_XTREME)
+.if defined(WITH_BKTR)
 	${INSTALL} ${WRKSRC}/utils/bktrctl ${PREFIX}/bin
 	${INSTALL} ${FILESDIR}/bktrctl.sh ${PREFIX}/etc/rc.d
 .endif
@@ -37,7 +37,7 @@
 	${INSTALL_MAN} ${WRKSRC}/fmio.1 ${MANPREFIX}/man/man1
 
 post-install:
-.if !defined(WITH_XTREME)
+.if !defined(WITH_BKTR)
 	${GREP} -v "bktrctl.sh" ${TMPPLIST} > ${TMPPLIST}.tmp
 	${MV} -f ${TMPPLIST}.tmp ${TMPPLIST}
 .endif
diff -ur fmio.old/files/bktrctl.sh fmio/files/bktrctl.sh
--- fmio.old/files/bktrctl.sh	Wed Apr 24 19:50:08 2002
+++ fmio/files/bktrctl.sh	Wed Apr 24 20:02:25 2002
@@ -1,71 +1,3 @@
-
-Apply the patch and add file given below
-
-diff -ur fmio.old/Makefile fmio/Makefile
---- fmio.old/Makefile	Mon Mar 18 20:56:28 2002
-+++ fmio/Makefile	Wed Apr 24 00:15:23 2002
-@@ -6,7 +6,7 @@
- #
- 
- PORTNAME=	fmio
--PORTVERSION=	1.2.18
-+PORTVERSION=	1.2.25
- CATEGORIES=	audio
- MASTER_SITES=	http://www.jumbo.narod.ru/src/fmio/
- 
-@@ -16,10 +16,33 @@
- MANCOMPRESSED=	no
- 
- pre-build:
--	${PERL} -pi.orig -e "s@lib fmio man@lib fmio@g; \
--			     s@install -c -o root@#install@g" ${WRKSRC}/Makefile
-+.if !defined(WITH_XTREME)
-+	@${ECHO_MSG}
-+	@${ECHO_MSG} "If you want to compile with Highway Xtreme support,"
-+	@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_XTREME=yes\""
-+	@${ECHO_MSG}
-+.endif
- 
--post-install:
-+post-build:
-+.if defined(WITH_XTREME)
-+	@${MAKE} ${WRKSRC}/utils/bktrctl
-+.endif
-+
-+do-install:
-+.if defined(WITH_XTREME)
-+	${INSTALL} ${WRKSRC}/utils/bktrctl ${PREFIX}/bin
-+	${INSTALL} files/bktrctl.sh ${PREFIX}/etc/rc.d
-+.endif
-+	${INSTALL} -m 4555 ${WRKSRC}/fmio ${PREFIX}/bin
- 	${INSTALL_MAN} ${WRKSRC}/fmio.1 ${MANPREFIX}/man/man1
-+
-+
-+
-+post-install:
-+.if !defined(WITH_XTREME)
-+	${GREP} -v "bktrctl.sh" ${TMPPLIST} > ${TMPPLIST}.tmp
-+	${MV} -f ${TMPPLIST}.tmp ${TMPPLIST}
-+.endif
-+
- 
- .include <bsd.port.mk>
-diff -ur fmio.old/distinfo fmio/distinfo
---- fmio.old/distinfo	Mon Mar 18 20:56:28 2002
-+++ fmio/distinfo	Tue Apr 23 14:55:43 2002
-@@ -1 +1 @@
--MD5 (fmio-1.2.18.tar.gz) = 3260dfb3e9ae3a7baa9912bf26ec1d43
-+MD5 (fmio-1.2.25.tar.gz) = 4dacdd09098e83866b9309d4d9abf289
-diff -ur fmio.old/pkg-plist fmio/pkg-plist
---- fmio.old/pkg-plist	Sat Apr  7 04:33:50 2001
-+++ fmio/pkg-plist	Tue Apr 23 23:25:01 2002
-@@ -1 +1,2 @@
- bin/fmio
-+etc/rc.d/bktrctl.sh
-
-
--------------- files/bktrctl.sh ---------------------------
-
 #!/bin/sh
 
 
>Release-Note:
>Audit-Trail:
>Unformatted:

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




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