diff options
author | dinoex <dinoex@FreeBSD.org> | 2003-03-04 04:58:23 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2003-03-04 04:58:23 +0800 |
commit | 5c2537f853a2f3e0c0548348625a60ad463c2386 (patch) | |
tree | 72a3895e6cb054aca0c9d557d1e5934a04057528 /news/c-nocem | |
parent | b6424947ef5873437ca8908c3020656ad5197aff (diff) | |
download | freebsd-ports-gnome-5c2537f853a2f3e0c0548348625a60ad463c2386.tar.gz freebsd-ports-gnome-5c2537f853a2f3e0c0548348625a60ad463c2386.tar.zst freebsd-ports-gnome-5c2537f853a2f3e0c0548348625a60ad463c2386.zip |
- 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
Diffstat (limited to 'news/c-nocem')
-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 |