aboutsummaryrefslogtreecommitdiff
path: root/news/c-nocem/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'news/c-nocem/Makefile')
-rw-r--r--news/c-nocem/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/news/c-nocem/Makefile b/news/c-nocem/Makefile
index ca8943777a4d..12967d03dcc7 100644
--- a/news/c-nocem/Makefile
+++ b/news/c-nocem/Makefile
@@ -19,7 +19,9 @@ BUILD_DEPENDS+= ${LOCALBASE}/lib/libcnews.a:${PORTSDIR}/${CNEWSSRC} \
WRKSRC= ${WRKDIR}/c-nocem
CNEWSSRC?= news/cnews
-CNEWSWRK?= ${WRKDIRPREFIX}${PORTSDIR}/${CNEWSSRC}/work
+#CNEWSWRK?= ${WRKDIRPREFIX}${PORTSDIR}/${CNEWSSRC}/work
+# ${.CURDIR}/../.. can be diffrent from ${PORTSDIR}
+CNEWSWRK?= ${WRKDIRPREFIX}${.CURDIR}/../../${CNEWSSRC}/work
NEWSBIN?= ${PREFIX}/libexec/cnews
USE_GMAKE= yes
GNU_CONFIGURE= yes