aboutsummaryrefslogtreecommitdiff
path: root/emulators/virtio-kmod/Makefile
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2012-04-22 13:52:23 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2012-04-22 13:52:23 +0000
commitb039fb81285275b445dc10d4f71c67aaee265d56 (patch)
tree1bbfb453288c6e2e6ae517a2c13e10ca9150438b /emulators/virtio-kmod/Makefile
parent5b2e172d54a54f75240ce785bb0cc4c20e5d4df1 (diff)
downloadports-b039fb81285275b445dc10d4f71c67aaee265d56.tar.gz
ports-b039fb81285275b445dc10d4f71c67aaee265d56.zip
Notes
Diffstat (limited to 'emulators/virtio-kmod/Makefile')
-rw-r--r--emulators/virtio-kmod/Makefile19
1 files changed, 14 insertions, 5 deletions
diff --git a/emulators/virtio-kmod/Makefile b/emulators/virtio-kmod/Makefile
index 2d743a3ee440..b607c2772457 100644
--- a/emulators/virtio-kmod/Makefile
+++ b/emulators/virtio-kmod/Makefile
@@ -13,14 +13,16 @@ MASTER_SITE_SUBDIR= kuriyama
PKGNAMESUFFIX= -kmod
MAINTAINER= kuriyama@FreeBSD.org
-COMMENT= virtio kernel modules port for 8.2/9.0
+COMMENT= virtio kernel modules port for 8.[23]/9.0
ONLY_FOR_ARCHS= amd64 i386
WRKSRC= ${WRKDIR}
-SVN_REV= 228301
+SVN_REV= 234349
KMODDIR?= /boot/modules
PLIST_SUB= KMODDIR=${KMODDIR:C,^/,,}
+NEEDSUBDIRS= amd64 conf contrib dev/pci geom i386 kern net netinet netinet6 \
+ sys tools vm x86
.if !exists(${SRC_BASE}/sys/Makefile)
IGNORE= requires kernel source to be installed
@@ -28,13 +30,20 @@ IGNORE= requires kernel source to be installed
.include <bsd.port.pre.mk>
-.if ${OSREL} != "8.2" && ${OSREL} != "9.0"
+.if ${OSREL} != "8.2" && ${OSREL} != "8.3" && ${OSREL} != "9.0"
IGNORE= not supported $${OSREL} (${OSREL})
.endif
+.if ${OSREL} == "8.2"
+SVN_REV= 228301
+#SVN_REV= 232470
+#SVN_REV= 228301
+.endif
post-extract:
- cd ${WRKSRC} && ${MKDIR} tmp && ${MV} dev modules tmp/
- ${CP} -Rp ${SRC_BASE}/sys ${WRKSRC}/
+ cd ${WRKSRC} && ${MKDIR} sys/dev tmp && ${MV} dev modules tmp/
+ for d in ${NEEDSUBDIRS}; do \
+ ${CP} -Rp ${SRC_BASE}/sys/${d} ${WRKSRC}/sys/${d}; \
+ done
${CP} -Rp ${WRKSRC}/tmp/* ${WRKSRC}/sys/
do-build: