diff options
author | mat <mat@FreeBSD.org> | 2015-11-05 20:36:25 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2015-11-05 20:36:25 +0800 |
commit | 344522393988339d341fda0818f0281645323f90 (patch) | |
tree | 9cbf2a263e7841be76898ae832e7bfb273d3fd08 /news | |
parent | a8ea83538e74965157afe830f9873190be5ac78a (diff) | |
download | freebsd-ports-gnome-344522393988339d341fda0818f0281645323f90.tar.gz freebsd-ports-gnome-344522393988339d341fda0818f0281645323f90.tar.zst freebsd-ports-gnome-344522393988339d341fda0818f0281645323f90.zip |
Fix ports that confused the meaning of WRKDIR and WRKSRC.
PR: 204056
Submitted by: mat
Reviewed by: bapt
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D2735
Diffstat (limited to 'news')
-rw-r--r-- | news/c-nocem/Makefile | 2 | ||||
-rw-r--r-- | news/nnap/Makefile | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/news/c-nocem/Makefile b/news/c-nocem/Makefile index 129096840a8b..43ba679b5d5f 100644 --- a/news/c-nocem/Makefile +++ b/news/c-nocem/Makefile @@ -27,7 +27,7 @@ PLIST_FILES= %%NEWSBIN%%/fastcancel %%NEWSBIN%%/c-nocem CNEWS_PORT?= news/cnews #CNEWSWRK?= ${WRKDIRPREFIX}${PORTSDIR}/${CNEWS_PORT}/work # ${.CURDIR}/../.. can be diffrent from ${PORTSDIR} -CNEWSWRK?= ${WRKDIRPREFIX}${.CURDIR}/../../${CNEWS_PORT}/work +CNEWSWRK!= ${MAKE} -C ${.CURDIR}/../../${CNEWS_PORT} -V WRKSRC NEWSBIN?= ${PREFIX}/libexec/cnews post-patch: diff --git a/news/nnap/Makefile b/news/nnap/Makefile index 6ea5f6544a06..12e8aa89b646 100644 --- a/news/nnap/Makefile +++ b/news/nnap/Makefile @@ -15,8 +15,8 @@ NO_WRKSUBDIR= yes PLIST_FILES= sbin/nnap do-extract: - @${MKDIR} ${WRKDIR} - @${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR} + @${MKDIR} ${WRKSRC} + @${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC} do-build: (cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} ${DISTNAME}.c) |