Date: Sat, 14 Feb 2004 19:52:33 -0500 (EST) From: Hendrik Scholz <hendrik@scholz.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/62860: bento-fix: audio/xmradio (prevent compilation on sparc64 and amd64) Message-ID: <20040215005233.C280B39845@slurmcan.wormulon.net> Resent-Message-ID: <200402150100.i1F10VGn040639@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040215005233.C280B39845>