ports/62860: bento-fix: audio/xmradio (prevent compilation on sparc64 and amd64)
Hendrik Scholz
hendrik at scholz.net
Sun Feb 15 01:00:31 UTC 2004
>Number: 62860
>Category: ports
>Synopsis: bento-fix: audio/xmradio (prevent compilation on sparc64 and amd64)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Feb 14 17:00:30 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Hendrik Scholz
>Release: FreeBSD 5.2.1-RC amd64
>Organization:
>Environment:
System: FreeBSD slurmcan.wormulon.net 5.2.1-RC FreeBSD 5.2.1-RC #0: Sat Jan 31 12:38:34 GMT 2004 root at ngoc.NUXI.com:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Since there is no /usr/include/machine/ioctl_bt848.h on sparc64 and amd64
platforms xmradio won't work (cmp. with xawtv), so just
set ONLY_FOR_ARCHS correctly.
bento:
http://bento.freebsd.org/errorlogs/amd64-5-full/xmradio-1.2.log
http://bento.freebsd.org/errorlogs/sparc64-5-full/xmradio-1.2.log
works fine on other platforms
>How-To-Repeat:
>Fix:
--- xmradio-arch.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/audio/xmradio/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- Makefile 24 Sep 2003 09:37:03 -0000 1.16
+++ Makefile 15 Feb 2004 00:46:19 -0000
@@ -21,7 +21,16 @@
USE_XPM= yes
USE_MOTIF= yes
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+ONLY_FOR_ARCHS= i386
+.else
+ONLY_FOR_ARCHS= alpha i386 ia64
+.endif
+
+#
#post-install:
# ${STRIP_CMD} ${PREFIX}/bin/xmradio
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- xmradio-arch.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list