aboutsummaryrefslogtreecommitdiff
path: root/emulators/kqemu-kmod
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2013-06-27 21:45:00 +0000
committerJuergen Lock <nox@FreeBSD.org>2013-06-27 21:45:00 +0000
commit28dd2f0c7f15a2ab7f03205930b2ca2726aec136 (patch)
treebc85f57fa0df42559782a836cec8790cd249483b /emulators/kqemu-kmod
parent620c08561a250a6152e33c4c0820c4a2e2fe9000 (diff)
downloadports-28dd2f0c7f15a2ab7f03205930b2ca2726aec136.tar.gz
ports-28dd2f0c7f15a2ab7f03205930b2ca2726aec136.zip
Notes
Diffstat (limited to 'emulators/kqemu-kmod')
-rw-r--r--emulators/kqemu-kmod/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/emulators/kqemu-kmod/Makefile b/emulators/kqemu-kmod/Makefile
index 48929f93ccdf..7d9c5aad4ee1 100644
--- a/emulators/kqemu-kmod/Makefile
+++ b/emulators/kqemu-kmod/Makefile
@@ -40,8 +40,11 @@ PLIST_FILES+= "@cwd"
MAKEFILE= Makefile.freebsd
+MAKE_ARGS+= LDFLAGS=${LDFLAGS:S/^-Wl,//}
+MAKE_ARGS+= CWARNFLAGS=-Wall
+
.if ${ARCH} == "amd64"
-MAKE_ARGS+= ARCH=x86_64
+GMAKE_ARGS+= ARCH=x86_64
.endif
# install where x11/nvidia-driver does also:
@@ -63,8 +66,8 @@ post-patch:
do-build:
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} beforedepend && ${LN} -sfh @/sys sys)
- @(cd ${BUILD_WRKSRC}/common; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} Makefile ${MAKE_ARGS} ${ALL_TARGET})
- @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} CWARNFLAGS=-Wall ${ALL_TARGET})
+ @(cd ${BUILD_WRKSRC}/common; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} Makefile ${GMAKE_ARGS} ${ALL_TARGET})
+ @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
do-install:
@(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})