aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/istgt/Makefile11
-rw-r--r--net/istgt/distinfo4
2 files changed, 11 insertions, 4 deletions
diff --git a/net/istgt/Makefile b/net/istgt/Makefile
index 4d9a60b45860..575758538fc9 100644
--- a/net/istgt/Makefile
+++ b/net/istgt/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= istgt
-PORTVERSION= 20120811
+PORTVERSION= 20120901
CATEGORIES= net
MASTER_SITES= http://www.peach.ne.jp/archives/istgt/
@@ -36,7 +36,7 @@ DOCS= ChangeLog.jp README doc/QUICKSTART doc/QUICKSTART.jp
OPTIONS_DEFINE= SYMLNKDEV VBOXVD
OPTIONS_DEFAULT=
SYMLNKDEV_DESC= Allow symbolic link for device file
-VBOXVD_DESC= Build with VBox VirtualDisk support
+VBOXVD_DESC= Build with VBox VD support(no X11 required)
.include <bsd.port.options.mk>
@@ -45,10 +45,17 @@ CONFIGURE_ARGS+= --enable-symlink-device
.endif
.if ${PORT_OPTIONS:MVBOXVD}
+. if ${OSVERSION} < 802000
+VBOX_WRKSRC= `${MAKE} -C ${PORTSDIR}/emulators/virtualbox-ose-legacy -V WRKSRC`
+RUN_DEPENDS+= ${LOCALBASE}/lib/virtualbox/VBoxRT.so:${PORTSDIR}/emulators/virtualbox-ose-legacy
+BUILD_DEPENDS+= ${NONEXISTENT}:${PORTSDIR}/emulators/virtualbox-ose-legacy:patch
+CONFIGURE_ARGS+= --with-vbox=${VBOX_WRKSRC}/include
+. else
VBOX_WRKSRC= `${MAKE} -C ${PORTSDIR}/emulators/virtualbox-ose -V WRKSRC`
RUN_DEPENDS+= ${LOCALBASE}/lib/virtualbox/VBoxRT.so:${PORTSDIR}/emulators/virtualbox-ose
BUILD_DEPENDS+= ${NONEXISTENT}:${PORTSDIR}/emulators/virtualbox-ose:patch
CONFIGURE_ARGS+= --with-vbox=${VBOX_WRKSRC}/include
+. endif
.endif
post-extract:
diff --git a/net/istgt/distinfo b/net/istgt/distinfo
index 7131c4037e2f..02574ca59c21 100644
--- a/net/istgt/distinfo
+++ b/net/istgt/distinfo
@@ -1,2 +1,2 @@
-SHA256 (istgt-20120811.tar.gz) = 0c4413a07687e5746939be4d3ead9f11a5b4c91ff6732996d198ff15f78941a4
-SIZE (istgt-20120811.tar.gz) = 269880
+SHA256 (istgt-20120901.tar.gz) = 5adbf9e90c403fa866ca1915bc5b698499a83769007095b3f7a730156a5e405b
+SIZE (istgt-20120901.tar.gz) = 273247 \ No newline at end of file