aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2012-07-02 06:52:41 +0800
committerjgh <jgh@FreeBSD.org>2012-07-02 06:52:41 +0800
commit640da7c7bdab8832a8375db5baec2163e0b50634 (patch)
tree7abae8eb42957a4d0b585d8410fbfce1ce24d151
parente2320948849ba8cf352fbb0ed24b9ee65020342b (diff)
downloadfreebsd-ports-gnome-640da7c7bdab8832a8375db5baec2163e0b50634.tar.gz
freebsd-ports-gnome-640da7c7bdab8832a8375db5baec2163e0b50634.tar.zst
freebsd-ports-gnome-640da7c7bdab8832a8375db5baec2163e0b50634.zip
- re-order, include bsd.port.pre.mk so SRC_BASE is defined before referenced
- pet portlint on placement of LICENSE PR: ports/169223 Submitted by: jgh@ Approved by: maintainer timeout ( 14 days )
-rw-r--r--emulators/virtualbox-ose/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/emulators/virtualbox-ose/Makefile b/emulators/virtualbox-ose/Makefile
index 3389c75d7687..fef83f70f8de 100644
--- a/emulators/virtualbox-ose/Makefile
+++ b/emulators/virtualbox-ose/Makefile
@@ -19,6 +19,9 @@ EXTRACT_ONLY= VirtualBox-${DISTVERSION}${EXTRACT_SUFX}
MAINTAINER= vbox@FreeBSD.org
COMMENT= A general-purpose full virtualizer for x86 hardware
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
BUILD_DEPENDS= yasm:${PORTSDIR}/devel/yasm \
as86:${PORTSDIR}/devel/dev86 \
xsltproc:${PORTSDIR}/textproc/libxslt \
@@ -29,9 +32,6 @@ LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
curl.6:${PORTSDIR}/ftp/curl
RUN_DEPENDS= /boot/modules/vboxdrv.ko:${PORTSDIR}/emulators/virtualbox-ose-kmod
-LICENSE= GPLv2
-LICENSE_FILE= ${WRKSRC}/COPYING
-
WRKSRC= ${WRKDIR}/VirtualBox-${PORTVERSION}
ONLY_FOR_ARCHS= i386 amd64
USE_CDRTOOLS= yes
@@ -77,6 +77,8 @@ PLIST_SUB+= PYTHON_VER=${PYTHON_VER} \
SUB_LIST+= VBOXUSER=${VBOXUSER}
USE_RC_SUBR+= vboxheadless
+.include <bsd.port.pre.mk>
+
KMK_BUILDTYPE= release
KMK_CONFIG= VBOX_LIBPATH_X11=${LOCALBASE} VBOX_FREEBSD_SRC=${SRC_BASE}/sys
KMK_FLAGS=
@@ -171,8 +173,6 @@ KMK_ARCH= freebsd.${ARCH}
PLIST_SUB+= I386="@comment "
.endif
-.include <bsd.port.pre.mk>
-
.if ${OSVERSION} < 802000
BROKEN= Does not compile on FreeBSD < 8.2
.endif