summaryrefslogtreecommitdiff
path: root/misc/mtx
diff options
context:
space:
mode:
authorFlorent Thoumie <flz@FreeBSD.org>2005-11-30 14:10:25 +0000
committerFlorent Thoumie <flz@FreeBSD.org>2005-11-30 14:10:25 +0000
commitd43ca898a0954b2a457087ac2000aa66ce34e128 (patch)
tree246c57fddce69f7b52415bad4e7b81f5771c2840 /misc/mtx
parentSHA256'ify my ports. (diff)
- Fix mtx on 64bits archs.
PR: ports/82599 Submitted by: Morten A. Middelthon <morten@coretrek.no> Approved by: maintainer timeout (3 months)
Notes
Notes: svn path=/head/; revision=150050
Diffstat (limited to 'misc/mtx')
-rw-r--r--misc/mtx/Makefile8
-rw-r--r--misc/mtx/files/patch-Makefile.in22
2 files changed, 13 insertions, 17 deletions
diff --git a/misc/mtx/Makefile b/misc/mtx/Makefile
index 7efcc4340fe8..3fdb065fab22 100644
--- a/misc/mtx/Makefile
+++ b/misc/mtx/Makefile
@@ -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>
diff --git a/misc/mtx/files/patch-Makefile.in b/misc/mtx/files/patch-Makefile.in
index a2b0d367bcef..eb173fcb055b 100644
--- a/misc/mtx/files/patch-Makefile.in
+++ b/misc/mtx/files/patch-Makefile.in
@@ -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
+