aboutsummaryrefslogtreecommitdiffstats
path: root/audio/libworkman
diff options
context:
space:
mode:
authorjim <jim@FreeBSD.org>2000-01-28 04:28:35 +0800
committerjim <jim@FreeBSD.org>2000-01-28 04:28:35 +0800
commit4ad2a7e55cda7ef05073d342ebeac26a363b9d43 (patch)
treed342914ad43e76f37d95b53c599424ef253c71cf /audio/libworkman
parent25b7e2c1b679923b99232b07be69f1777e5c9cc7 (diff)
downloadfreebsd-ports-gnome-4ad2a7e55cda7ef05073d342ebeac26a363b9d43.tar.gz
freebsd-ports-gnome-4ad2a7e55cda7ef05073d342ebeac26a363b9d43.tar.zst
freebsd-ports-gnome-4ad2a7e55cda7ef05073d342ebeac26a363b9d43.zip
Make this compile on -CURRENT
Submitted by: reg
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