diff options
author | John Marino <marino@FreeBSD.org> | 2014-10-16 11:53:42 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2014-10-16 11:53:42 +0000 |
commit | fa93bad1215e901cfebdeeb3dcf02440416def7a (patch) | |
tree | e8621b27d6d0fe43816541a11be8f968bb405a75 /lang/gnatdroid-armv7/Makefile | |
parent | 242e23680e5ed01e00b6fdff4ecf489b51be881a (diff) | |
download | ports-fa93bad1215e901cfebdeeb3dcf02440416def7a.tar.gz ports-fa93bad1215e901cfebdeeb3dcf02440416def7a.zip |
Notes
Diffstat (limited to 'lang/gnatdroid-armv7/Makefile')
-rw-r--r-- | lang/gnatdroid-armv7/Makefile | 36 |
1 files changed, 17 insertions, 19 deletions
diff --git a/lang/gnatdroid-armv7/Makefile b/lang/gnatdroid-armv7/Makefile index 355a88f896dc..8319ebd07c87 100644 --- a/lang/gnatdroid-armv7/Makefile +++ b/lang/gnatdroid-armv7/Makefile @@ -114,8 +114,8 @@ post-extract: do-configure: ${MKDIR} ${BUILD_WRKSRC} - cd ${BUILD_WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ - ${CFG_SCRIPT} ${ADA_CONFIG_ARGS} + (cd ${BUILD_WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ + ${CFG_SCRIPT} ${ADA_CONFIG_ARGS}) do-install: # Buggy makefile; seems to have forgotten this is a cross compiler @@ -125,31 +125,29 @@ do-install: ${CP} -a ${BUILD_WRKSRC}/gcc/${X}-cross ${BUILD_WRKSRC}/gcc/${X} . endif .endfor - cd ${BUILD_WRKSRC} && ${SETENV} ${INSTALL_ENV} \ - ${MAKE_CMD} install-strip DESTDIR=${STAGEDIR} + (cd ${BUILD_WRKSRC} && ${SETENV} ${INSTALL_ENV} \ + ${MAKE_CMD} install-strip DESTDIR=${STAGEDIR}) ${MV} ${STAGEDIR}${PREFIX}/bin/ada \ ${STAGEDIR}${PREFIX}/bin/${DROID_TARGET}-ada post-stage: .for loop in A B - cd ${STAGEDIR}${PREFIX}; ${FIND} * -type d -empty | \ - ${SORT} -dr | ${XARGS} ${RMDIR} + (cd ${STAGEDIR}${PREFIX}; ${FIND} * -type d -empty | \ + ${SORT} -dr | ${XARGS} ${RMDIR}) .endfor - cd ${STAGEDIR}${PREFIX}; \ - ${FIND} * \( -type f -or -type l \) | ${SORT} | \ - ${SED} -e '/^bin\//d' -e '/^${DROID_TARGET}\/bin\//d' \ - >> ${TMPPLIST} - cd ${STAGEDIR}${PREFIX}; ${FIND} * -type d | ${SORT} -dr | \ - ${SED} -e 's/^/@dirrmtry /g' >> ${TMPPLIST} + (cd ${STAGEDIR}${PREFIX}; \ + ${FIND} * \( -type f -or -type l \) | ${SORT} | \ + ${SED} -e '/^bin\//d' -e '/^${DROID_TARGET}\/bin\//d' \ + >> ${TMPPLIST}) acats: build - cd ${BUILD_WRKSRC}/gcc && ${SETENV} \ - PATH=${LOCALBASE}/gcc-aux/bin:${PATH}:${PREFIX}/bin \ - gmake -sk check-acats + (cd ${BUILD_WRKSRC}/gcc && ${SETENV} \ + PATH=${LOCALBASE}/gcc-aux/bin:${PATH}:${PREFIX}/bin \ + ${GMAKE} -sk check-acats) gnatdg: build - cd ${BUILD_WRKSRC}/gcc && ${SETENV} \ - PATH=${LOCALBASE}/gcc-aux/bin:${PATH}:${PREFIX}/bin \ - gmake -sk check-gnat RUNTESTFLAGS=--target_board=gnatdroid - + (cd ${BUILD_WRKSRC}/gcc && ${SETENV} \ + PATH=${LOCALBASE}/gcc-aux/bin:${PATH}:${PREFIX}/bin \ + ${GMAKE} -sk check-gnat RUNTESTFLAGS=--target_board=gnatdroid) + .include <bsd.port.mk> |