summaryrefslogtreecommitdiff
path: root/audio/krio/files/patch-ac
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-02-20 20:48:58 +0000
committerSteve Price <steve@FreeBSD.org>2000-02-20 20:48:58 +0000
commitcb5230eccd68630ba485849148585406ff555943 (patch)
treee79e0b457f8e0a9163593910994812d45df9df8b /audio/krio/files/patch-ac
parentRemove the two i386 binaries and rebuild them from source so this port (diff)
Add support for the Alpha and create a directory on install so this packages
on machines with a clean ${PREFIX} directory.
Diffstat (limited to 'audio/krio/files/patch-ac')
-rw-r--r--audio/krio/files/patch-ac19
1 files changed, 19 insertions, 0 deletions
diff --git a/audio/krio/files/patch-ac b/audio/krio/files/patch-ac
new file mode 100644
index 000000000000..4b5cf8d074c6
--- /dev/null
+++ b/audio/krio/files/patch-ac
@@ -0,0 +1,19 @@
+--- rio107/makefile.orig Fri Feb 18 11:16:16 2000
++++ rio107/makefile Fri Feb 18 11:17:15 2000
+@@ -6,10 +6,15 @@
+ #
+ ###############################################################################
+
++.if ${MACHINE_ARCH} == "alpha"
++LDADD= -lio
++.endif
++CXXFLAGS?= -O1
++
+ all: rio
+
+ rio: app.cpp rio.cpp
+- g++ -O1 -o rio app.cpp rio.cpp
++ ${CXX} ${CXXFLAGS} -o rio app.cpp rio.cpp ${LDADD}
+ chmod +s rio
+
+ clean: