summaryrefslogtreecommitdiff
path: root/news/c-nocem
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-03-03 20:58:23 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-03-03 20:58:23 +0000
commita76f6018abb67835049319a676850b5176421b29 (patch)
tree5ed9571a524df03653db59498b92cf1ce9a1317e /news/c-nocem
parentUse threads. Temporarily add an extra dependency on SimGear to make sure (diff)
- fix build on bento.
It works fine when PORTSDIR points at the physical lcoation. if PORTSDIR point to symlink (as on benot), the workdirs are at a diffrent location. You expect: ${WRKDIRPREFIX}${PORTSDIR}/news/cnews/work ===> c-nocem-3.7 depends on file: /tmp/usr/ports/news/cnews/work/conf/substitutions - not found but the port genarted itws workfiles at: /tmp/a/ports/news/cnews/work/conf/substitutions The location can only be found with ${WRKDIRPREFIX}${.CURDIR}/../../news/cnews/work
Notes
Notes: svn path=/head/; revision=76815
Diffstat (limited to 'news/c-nocem')
-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