diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2003-03-03 20:58:23 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2003-03-03 20:58:23 +0000 |
commit | a76f6018abb67835049319a676850b5176421b29 (patch) | |
tree | 5ed9571a524df03653db59498b92cf1ce9a1317e /news | |
parent | deef1edf2e8f63f59ebdaa6c0ecfaa7a4709cfa6 (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')
-rw-r--r-- | news/c-nocem/Makefile | 4 |
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 |