summaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>2006-07-17 14:23:11 +0000
committerjkoshy <jkoshy@FreeBSD.org>2006-07-17 14:23:11 +0000
commit30044c8bba138cb5bb48555861123df285e22533 (patch)
treebe6ebf4a3c432f2faadeb74a1e18eed686c0bae2 /emulators
parent3bfd80a3eacd8013cf469a231890675719fbdd07 (diff)
downloadFreeBSD-ports-30044c8bba138cb5bb48555861123df285e22533.zip
FreeBSD-ports-30044c8bba138cb5bb48555861123df285e22533.tar.gz
Propagate ${PREFIX} and other environment variables to child sub-makes.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/spim/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/emulators/spim/Makefile b/emulators/spim/Makefile
index 4bea5bb..74bccc9 100644
--- a/emulators/spim/Makefile
+++ b/emulators/spim/Makefile
@@ -8,6 +8,7 @@
PORTNAME= spim
PORTVERSION= 7.2.1
+PORTREVISION= 1
CATEGORIES= emulators
MASTER_SITES= http://www.cs.wisc.edu/~larus/SPIM/
@@ -36,15 +37,21 @@ MAN1+= xspim.1
do-configure:
do-build:
- cd ${WRKSRC}/spim && ${MAKE}
+ cd ${WRKSRC}/spim && \
+ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE}
.if defined(WITH_GUI)
- cd ${WRKSRC}/xspim && ${XMKMF} && ${MAKE}
+ cd ${WRKSRC}/xspim && ${XMKMF} && \
+ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE}
.endif
do-install:
- cd ${WRKSRC}/spim && ${MAKE} ${INSTALL_TARGET}
+ cd ${WRKSRC}/spim && \
+ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} \
+ ${INSTALL_TARGET}
.if defined(WITH_GUI)
- cd ${WRKSRC}/xspim && ${MAKE} ${INSTALL_TARGET}
+ cd ${WRKSRC}/xspim && \
+ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} \
+ ${INSTALL_TARGET}
${INSTALL_MAN} ${WRKSRC}/Documentation/xspim.man ${PREFIX}/man/man1/xspim.1
.endif
OpenPOWER on IntegriCloud