1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Fix mtx on 64bits archs.

PR:		ports/82599
Submitted by:	Morten A. Middelthon <morten@coretrek.no>
Approved by:	maintainer timeout (3 months)
This commit is contained in:
Florent Thoumie 2005-11-30 14:10:25 +00:00
parent 3a847796b3
commit d43ca898a0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=150050
2 changed files with 13 additions and 17 deletions

View File

@ -19,10 +19,4 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
MAN1= loaderinfo.1 mtx.1 tapeinfo.1 scsitape.1
.include <bsd.port.pre.mk>
.if ${ARCH} == "ia64" || ${ARCH} == "sparc64" || ${ARCH} == "amd64"
BROKEN= "Does not compile on ia64, sparc64 and amd64"
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -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
#
-# FreeBSD on x86...
+# FreeBSD
#
ifeq ($(TARGET),freebsd86)
+ifeq ($(ARCH), alpha)
+CFLAGS +=
+else
CFLAGS += -m486
+endif
CPPFLAGS += -I/usr/src/linux/include -DLONG_PRINT_REQUEST_SENSE=1
-CFLAGS += -m486
-CPPFLAGS += -I/usr/src/linux/include -DLONG_PRINT_REQUEST_SENSE=1
+CPPFLAGS += -DLONG_PRINT_REQUEST_SENSE=1
LIBS += -lcam
endif