Date: Thu, 23 Jun 2005 17:56:47 +0200 From: Roland Smith <rsmith@xs4all.nl> To: "Morten A. Middelthon" <morten@freenix.no> Cc: freebsd-amd64@freebsd.org Subject: Re: mtx on amd64 Message-ID: <20050623155647.GD59771@slackbox.xs4all.nl> In-Reply-To: <20050623130010.GA74413@freenix.no> References: <20050623130010.GA74413@freenix.no>
next in thread | previous in thread | raw e-mail | index | archive | help
--9crTWz/Z+Zyzu20v Content-Type: multipart/mixed; boundary="uxuisgdDHaNETlh8" Content-Disposition: inline --uxuisgdDHaNETlh8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 23, 2005 at 03:00:10PM +0200, Morten A. Middelthon wrote: > Hi, >=20 > does anyone know the status of mtx on amd64? It's still marked as broken = on > ia64, sparc64 and amd64. I installed the i386-version via the precompiled > package, but it doesn't seem to be working properly, although that might = be > related to other issues.=20 The mtx package tries to use a processor flag that's invalid on anything but x86. Try applying the enclosed patch to the port. With this patch, it compiles cleanly. I can't test it because I haven't got any SCSI stuff :-) If it works, please submit a PR. Roland --=20 R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt --uxuisgdDHaNETlh8 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="mtx.diff" Content-Transfer-Encoding: quoted-printable diff -urN mtx.orig/Makefile mtx/Makefile --- mtx.orig/Makefile Thu Mar 10 14:55:14 2005 +++ mtx/Makefile Thu Jun 23 17:42:59 2005 @@ -19,10 +19,4 @@ GNU_CONFIGURE=3D yes MAN1=3D loaderinfo.1 mtx.1 tapeinfo.1 scsitape.1 =20 -.include <bsd.port.pre.mk> - -.if ${ARCH} =3D=3D "ia64" || ${ARCH} =3D=3D "sparc64" || ${ARCH} =3D=3D "a= md64" -BROKEN=3D "Does not compile on ia64, sparc64 and amd64" -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff -urN mtx.orig/files/patch-Makefile.in mtx/files/patch-Makefile.in --- mtx.orig/files/patch-Makefile.in Fri Feb 7 09:39:23 2003 +++ mtx/files/patch-Makefile.in Thu Jun 23 17:50:54 2005 @@ -1,14 +1,16 @@ ---- Makefile.in.orig Fri Feb 7 09:29:39 2003 -+++ Makefile.in Fri Feb 7 09:31:26 2003 -@@ -43,7 +43,11 @@ - # FreeBSD on x86... +--- Makefile.in.orig Wed Oct 2 18:55:29 2002 ++++ Makefile.in Thu Jun 23 17:50:34 2005 +@@ -40,11 +40,10 @@ + endif +=20 + # +-# FreeBSD on x86... ++# FreeBSD # ifeq ($(TARGET),freebsd86) -+ifeq ($(ARCH), alpha) -+CFLAGS +=3D -+else - CFLAGS +=3D -m486 -+endif - CPPFLAGS +=3D -I/usr/src/linux/include -DLONG_PRINT_REQUEST_SENSE=3D1 +-CFLAGS +=3D -m486 +-CPPFLAGS +=3D -I/usr/src/linux/include -DLONG_PRINT_REQUEST_SENSE=3D1 ++CPPFLAGS +=3D -DLONG_PRINT_REQUEST_SENSE=3D1 LIBS +=3D -lcam endif +=20 --uxuisgdDHaNETlh8-- --9crTWz/Z+Zyzu20v Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCutu/EnfvsMMhpyURAq3CAJ9AyJwNC6I2ObkLSa2xZQIyaD5aVwCaAzYl E96DamFDOVHIgM8cn9kyxIU= =05bk -----END PGP SIGNATURE----- --9crTWz/Z+Zyzu20v--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050623155647.GD59771>