aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2007-10-31 10:18:25 +0800
committerrafan <rafan@FreeBSD.org>2007-10-31 10:18:25 +0800
commitad723cf428bc963d059ed1c8a674900144cd6297 (patch)
tree3ca351501c3471e06ac36dc8570743d11c97d2bb
parent38eb12fc4f07e3728aa3f20972ec112442026d42 (diff)
downloadfreebsd-ports-gnome-ad723cf428bc963d059ed1c8a674900144cd6297.tar.gz
freebsd-ports-gnome-ad723cf428bc963d059ed1c8a674900144cd6297.tar.zst
freebsd-ports-gnome-ad723cf428bc963d059ed1c8a674900144cd6297.zip
- Fix build/install when WRKDIRPREFIX is set
PR: ports/117643 Reported by: Stefan Sperling <stsp at stsp.name> (for devel/ncurses) Approved by: portmgr (marcus)
-rw-r--r--devel/ncurses-devel/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/ncurses-devel/Makefile b/devel/ncurses-devel/Makefile
index 8b26ba86db22..28680ffbbcd3 100644
--- a/devel/ncurses-devel/Makefile
+++ b/devel/ncurses-devel/Makefile
@@ -144,7 +144,7 @@ post-patch:
post-configure:
.if !defined(WITHOUT_WIDEC)
- ${MAKE} CONFIGURE_WRKSRC=${WIDEC_WRKSRC} \
+ ${MAKE} ${.MAKEFLAGS} CONFIGURE_WRKSRC=${WIDEC_WRKSRC} \
CONFIGURE_ARGS="${CONFIGURE_ARGS} --enable-widec" \
do-configure
.endif
@@ -157,12 +157,12 @@ post-configure:
post-build:
.if !defined(WITHOUT_WIDEC)
- ${MAKE} BUILD_WRKSRC=${WIDEC_WRKSRC} do-build
+ ${MAKE} ${.MAKEFLAGS} BUILD_WRKSRC=${WIDEC_WRKSRC} do-build
.endif
post-install:
.if !defined(WITHOUT_WIDEC)
- ${MAKE} INSTALL_WRKSRC=${WIDEC_WRKSRC} do-install
+ ${MAKE} ${.MAKEFLAGS} INSTALL_WRKSRC=${WIDEC_WRKSRC} do-install
.endif
.if !defined(NOPORTEXAMPLES)