diff options
author | Steve Price <steve@FreeBSD.org> | 2000-02-20 20:48:58 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 2000-02-20 20:48:58 +0000 |
commit | cb5230eccd68630ba485849148585406ff555943 (patch) | |
tree | e79e0b457f8e0a9163593910994812d45df9df8b /audio | |
parent | db4fa4127248906c34e3255a9cf21e8fdf8d5ffd (diff) | |
download | ports-cb5230eccd68630ba485849148585406ff555943.tar.gz ports-cb5230eccd68630ba485849148585406ff555943.zip |
Notes
Diffstat (limited to 'audio')
-rw-r--r-- | audio/krio/Makefile | 1 | ||||
-rw-r--r-- | audio/krio/files/patch-aa | 8 | ||||
-rw-r--r-- | audio/krio/files/patch-ab | 16 | ||||
-rw-r--r-- | audio/krio/files/patch-ac | 19 |
4 files changed, 42 insertions, 2 deletions
diff --git a/audio/krio/Makefile b/audio/krio/Makefile index a4463a65dd6c..9f0fde80835a 100644 --- a/audio/krio/Makefile +++ b/audio/krio/Makefile @@ -23,6 +23,7 @@ USE_QT= yes WRKSRC= ${WRKDIR}/Krio do-install: + ${MKDIR} ${PREFIX}/share/icons/mini ${PREFIX}/share/applnk/Utilities ${INSTALL_PROGRAM} ${WRKSRC}/krio ${PREFIX}/bin/krio ${INSTALL_DATA} ${WRKSRC}/icons/krio.xpm ${PREFIX}/share/icons/krio.xpm ${INSTALL_DATA} ${WRKSRC}/icons/mini/mini-krio.xpm ${PREFIX}/share/icons/mini/krio.xpm diff --git a/audio/krio/files/patch-aa b/audio/krio/files/patch-aa index 3734b7aed23b..4e578c7ae22f 100644 --- a/audio/krio/files/patch-aa +++ b/audio/krio/files/patch-aa @@ -1,6 +1,6 @@ --- Makefile.orig Wed Jul 21 21:39:27 1999 -+++ Makefile Sat Jan 29 12:27:42 2000 -@@ -2,9 +2,8 @@ ++++ Makefile Fri Feb 18 23:18:40 2000 +@@ -2,9 +2,12 @@ CC = g++ RIODIR = rio107 @@ -9,6 +9,10 @@ -LDFLAGS = -L/usr/X11R6/lib -L/usr/lib -L/usr/include -lqt -lkdecore -lkdeui -lkfile -lkfm -lX11 -lXext +CFLAGS += -I${X11BASE}/include/X11/qt -I${LOCALBASE}/include -I${X11BASE}/include -I$(RIODIR) +LDFLAGS = -L${X11BASE}/lib -L${LOCALBASE}/lib -lqt -lkdecore -lkdeui -lkfile -lkfm -lX11 -lXext ++.if ${MACHINE_ARCH} == "alpha" ++LDFLAGS += -lio ++.endif ++ DEST = krio OBJS = Krio.o MainWin.o rio.o KRioListView.o SOURCES = Krio/Krio.cpp Krio/MainWin.cpp $(RIODIR)/rio.cpp Krio/KRioListView.cpp diff --git a/audio/krio/files/patch-ab b/audio/krio/files/patch-ab new file mode 100644 index 000000000000..7cfdad7ab6c8 --- /dev/null +++ b/audio/krio/files/patch-ab @@ -0,0 +1,16 @@ +--- rio107/rio.cpp.orig Fri Feb 18 11:07:32 2000 ++++ rio107/rio.cpp Fri Feb 18 11:08:13 2000 +@@ -79,6 +79,13 @@ + #include <fcntl.h> + #include <unistd.h> + #include <machine/cpufunc.h> ++ #if defined(__alpha__) ++ #include <sys/types.h> ++ extern "C" { ++ u_int8_t inb(u_int32_t); ++ void outb(u_int32_t, u_int8_t); ++ } ++ #endif + #define OUTPORT(p,v) outb( p, v ) + #define INPORT(p) inb( p ) + #define CLOCK_SECOND CLOCKS_PER_SEC 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: |