1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/audio/krio/files/patch-ac
Steve Price cb5230eccd Add support for the Alpha and create a directory on install so this packages
on machines with a clean ${PREFIX} directory.
2000-02-20 20:48:58 +00:00

20 lines
421 B
Plaintext

--- 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: