- Stage support

- Remove obsolete NO_PACKAGE
- Remove IGNORE check for obsolete versions of FreeBSD

Approved by:	portmgr (infrastructure blanket)
This commit is contained in:
Rene Ladan 2014-01-26 18:52:05 +00:00
parent f3e360fb3a
commit 7e642a4730
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341258
2 changed files with 8 additions and 7 deletions

View File

@ -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

View File

@ -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}