summaryrefslogtreecommitdiff
path: root/emulators/vmware2/Makefile
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-09-22 17:22:24 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-09-22 17:22:24 +0000
commit8b3cd773ff016fff7057a1a40ce23df371e5fbbe (patch)
tree8ea908c5ea8d4ab894559c97b5aae2897bb1a4fd /emulators/vmware2/Makefile
parent(null-commit) (diff)
Use LINUXBASE/USE_LINUX variables.
This is only a cosmetic change, so there's no need to reinstall your installation(s).
Diffstat (limited to 'emulators/vmware2/Makefile')
-rw-r--r--emulators/vmware2/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/emulators/vmware2/Makefile b/emulators/vmware2/Makefile
index 84bbe96a9771..4453cdcb5bff 100644
--- a/emulators/vmware2/Makefile
+++ b/emulators/vmware2/Makefile
@@ -60,10 +60,11 @@ BROKEN= "Kernel source files required"
.include "${WRKDIRPREFIX}${.CURDIR}/work/Makefile.inc.net"
.endif
-SCRIPTS_ENV+= LINUX_DIR="${LINUXBASE}" \
+SCRIPTS_ENV+= LINUXBASE="${LINUXBASE}" \
VMNET_HOST_IP="${VMNET_HOST_IP}" \
VMNET_NETMASK="${VMNET_NETMASK}"
MAKE_ARGS= KMODDIR="${VMDIR}/lib/modules"
+PLIST_SUB= LINUXBASE="${LINUXBASE}"
post-patch:
${CP} ${FILESDIR}/Makefile ${WRKSRC}
@@ -81,14 +82,14 @@ setoptions:
${FILESDIR}/config > ${WRKDIR}/config
${SED} -e 's;@@PREFIX@@;${PREFIX};' \
- -e 's;@@LINUX_DIR@@;${LINUXBASE};' \
+ -e 's;@@LINUXBASE@@;${LINUXBASE};' \
-e 's;@@NETWORKING@@;${VMNET_NETWORKING};' \
-e 's;@@HOST_IP@@;${VMNET_HOST_IP};' \
-e 's;@@NETMASK@@;${VMNET_NETMASK};' \
${FILESDIR}/vmware.sh > ${WRKDIR}/vmware.sh
${SED} -e 's;@@PREFIX@@;${PREFIX};' \
- -e 's;@@LINUX_DIR@@;${LINUXBASE};' \
+ -e 's;@@LINUXBASE@@;${LINUXBASE};' \
${FILESDIR}/vmware > ${WRKDIR}/vmware
pre-install: setoptions