summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2002-12-02 12:59:58 +0000
committerarved <arved@FreeBSD.org>2002-12-02 12:59:58 +0000
commitf2e8b7795954e13820f08b64401fa5d151bfc25f (patch)
tree7878475377b69ac00996493976b29dc553932b44
parent5f4cf28f0ff9a173c4d415e48afe92688e125093 (diff)
downloadFreeBSD-ports-f2e8b7795954e13820f08b64401fa5d151bfc25f.zip
FreeBSD-ports-f2e8b7795954e13820f08b64401fa5d151bfc25f.tar.gz
Fix Build on -CURRENT
Approved by: patrick (maintainer)
-rw-r--r--comms/kpsk/Makefile1
-rw-r--r--comms/kpsk/files/patch-ac2
2 files changed, 2 insertions, 1 deletions
diff --git a/comms/kpsk/Makefile b/comms/kpsk/Makefile
index f114531..7a6c86e 100644
--- a/comms/kpsk/Makefile
+++ b/comms/kpsk/Makefile
@@ -17,6 +17,7 @@ LIB_DEPENDS= db4:${PORTSDIR}/databases/db4
USE_BZIP2= yes
USE_GMAKE= yes
USE_KDELIBS_VER=3
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-D_POSIX_C_SOURCE -I${LOCALBASE}/include" \
USER_LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/comms/kpsk/files/patch-ac b/comms/kpsk/files/patch-ac
index 90d4f57..dc9f911 100644
--- a/comms/kpsk/files/patch-ac
+++ b/comms/kpsk/files/patch-ac
@@ -5,7 +5,7 @@
#include <stdio.h>
#include <stdlib.h>
+#ifdef __FreeBSD__
-+#include <machine/soundcard.h>
++#include <sys/soundcard.h>
+#else
#include <linux/soundcard.h>
+#endif
OpenPOWER on IntegriCloud