aboutsummaryrefslogtreecommitdiff
path: root/audio/libworkman
diff options
context:
space:
mode:
authorJim Mock <jim@FreeBSD.org>2000-01-27 20:28:35 +0000
committerJim Mock <jim@FreeBSD.org>2000-01-27 20:28:35 +0000
commit5d90534838e58b7332a8cc8b5ee56e4e1302283a (patch)
tree211d20fb2024f50c969532971013381883527006 /audio/libworkman
parentb4490c98739cb5f97f3639f006f58f5b75c0cce5 (diff)
downloadports-5d90534838e58b7332a8cc8b5ee56e4e1302283a.tar.gz
ports-5d90534838e58b7332a8cc8b5ee56e4e1302283a.zip
Notes
Diffstat (limited to 'audio/libworkman')
-rw-r--r--audio/libworkman/Makefile5
-rw-r--r--audio/libworkman/files/patch-ad10
2 files changed, 15 insertions, 0 deletions
diff --git a/audio/libworkman/Makefile b/audio/libworkman/Makefile
index 2cccc99ef97b..541c7b250184 100644
--- a/audio/libworkman/Makefile
+++ b/audio/libworkman/Makefile
@@ -16,6 +16,11 @@ MAINTAINER= jim@FreeBSD.org
WRKSRC= ${WRKDIR}/libworkman
USE_IMAKE= yes
+post-patch:
+ @${CP} ${WRKSRC}/Config ${WRKSRC}/Config.orig;
+ @${SED} -e 's^/usr/local/^${PREFIX}/^g' \
+ ${WRKSRC}/Config.orig > ${WRKSRC}/Config
+
post-install:
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
diff --git a/audio/libworkman/files/patch-ad b/audio/libworkman/files/patch-ad
new file mode 100644
index 000000000000..05c1cf42c612
--- /dev/null
+++ b/audio/libworkman/files/patch-ad
@@ -0,0 +1,10 @@
+--- plat_freebsd.c.orig Thu Jan 27 12:17:46 2000
++++ plat_freebsd.c Thu Jan 27 12:18:15 2000
+@@ -49,7 +49,6 @@
+ #include <sys/time.h>
+ #include <sys/ioctl.h>
+ #include <sys/cdio.h>
+-#include <sys/scsiio.h>
+
+ #if defined(__NetBSD__)
+ # define MSF_MINUTES 1