aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2014-01-26 18:52:05 +0000
committerRene Ladan <rene@FreeBSD.org>2014-01-26 18:52:05 +0000
commit7e642a47301497f8cb92bd285aa80a06150ca3bd (patch)
tree7f92293484fce2d47c32babcf24a47fb18a0ce24 /misc
parentf3e360fb3aeee7bffe0898069c640906e4487ec7 (diff)
downloadports-7e642a47301497f8cb92bd285aa80a06150ca3bd.tar.gz
ports-7e642a47301497f8cb92bd285aa80a06150ca3bd.zip
Notes
Diffstat (limited to 'misc')
-rw-r--r--misc/dahdi-kmod26/Makefile7
-rw-r--r--misc/dahdi-kmod26/files/patch-bsd-kmod__Makefile.inc8
2 files changed, 8 insertions, 7 deletions
diff --git a/misc/dahdi-kmod26/Makefile b/misc/dahdi-kmod26/Makefile
index 71dbb18df9d8..d35cfe8f66fe 100644
--- a/misc/dahdi-kmod26/Makefile
+++ b/misc/dahdi-kmod26/Makefile
@@ -40,7 +40,6 @@ WRKSRC= ${WRKDIR}/${DISTNAME}
#EXTRA_PATCHES= ${WRKDIR}/zaphfc-${ZAPHFC_VERSION}
#PATCH_STRIP= -p1
MAKEFILE= BSDmakefile
-NO_PACKAGE= Should be in sync with the kernel to work correctly
USE_RC_SUBR= dahdi
MAKE_ARGS= NO_FETCH=yes WITHOUT_HEADERS=yes #ADDITIONAL_DRIVERS="wcb1xxp"
GROUPS= dahdi
@@ -48,16 +47,10 @@ GROUPS= dahdi
ONLY_FOR_ARCHS= i386 amd64 sparc64
CONFLICTS= zaptel-[0-9]* dahdi-kmod-*
-NO_STAGE= yes
-
KMODDIR= ${PREFIX}/lib/dahdi
USES= kmod
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 703000 || (${OSVERSION} >= 800000 && ${OSVERSION} < 800108)
-IGNORE= requires firmware(9) support for kernel modules with hyphens
-.endif
-
.if ${ARCH} == "i386" || ${ARCH} == "amd64"
PLIST_SUB+= X86=""
_vpmadt032= VPMADT032
diff --git a/misc/dahdi-kmod26/files/patch-bsd-kmod__Makefile.inc b/misc/dahdi-kmod26/files/patch-bsd-kmod__Makefile.inc
new file mode 100644
index 000000000000..ccb447ebfe13
--- /dev/null
+++ b/misc/dahdi-kmod26/files/patch-bsd-kmod__Makefile.inc
@@ -0,0 +1,8 @@
+--- bsd-kmod/Makefile.inc.orig 2012-02-26 21:53:27.000000000 +0100
++++ bsd-kmod/Makefile.inc 2014-01-26 19:46:54.000000000 +0100
+@@ -19,4 +19,4 @@
+ TOUCH?= touch
+
+ beforeinstall:
+- ${MKDIR} ${KMODDIR}
++ ${MKDIR} ${DESTDIR}${KMODDIR}