From 7cc6b18fdc851ddda10b4a4262e794b4d63438de Mon Sep 17 00:00:00 2001 From: imp Date: Fri, 25 Feb 2005 04:37:22 +0000 Subject: Honor SYSDIR overrides Ignore warnings on module builds # this still fails on current due to SWI_CAMNET removal --- comms/ltmdm/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/comms/ltmdm/Makefile b/comms/ltmdm/Makefile index d6838abfa13c..91205209817e 100644 --- a/comms/ltmdm/Makefile +++ b/comms/ltmdm/Makefile @@ -30,13 +30,15 @@ MAKE_ARGS = LTMDM_OBJ_VERSION=595 MAKE_ARGS+= LTMDM_DEV_MAJOR=${LTMDM_DEV_MAJOR} MAKE_ARGS+= LTMDM_OBJ_VERSION=${LTMDM_OBJ_VERSION} +MAKE_ENV+= WERROR= PORTDOCS= README.TXT README-en.TXT INSTALL.TXT INSTALL-en.TXT +SYSDIR?= ${SRC_BASE}/sys RC_SCRIPTS_SUB=PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} MAJOR=${LTMDM_DEV_MAJOR} pre-fetch: -.if !exists(${SRC_BASE}/sys/Makefile) +.if !exists(${SYSDIR}/Makefile) @${ECHO} "*************************************************"; \ ${ECHO} "This port requires the kernel source be available"; \ ${ECHO} "*************************************************"; \ -- cgit