diff options
author | adamw <adamw@FreeBSD.org> | 2014-07-30 08:05:08 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-07-30 08:05:08 +0800 |
commit | 80a42b6634f5eb3c12e94bf005168a6c6118b05b (patch) | |
tree | ff8603f346f56fd1763949694e895414320e9226 | |
parent | 9c1cb7c8454c8795ad54af50c086385415bc2d9f (diff) | |
download | freebsd-ports-gnome-80a42b6634f5eb3c12e94bf005168a6c6118b05b.tar.gz freebsd-ports-gnome-80a42b6634f5eb3c12e94bf005168a6c6118b05b.tar.zst freebsd-ports-gnome-80a42b6634f5eb3c12e94bf005168a6c6118b05b.zip |
Add USES=readline to fix build, and add parentheses around compound
commands for -jN safety.
-rw-r--r-- | databases/riak/Makefile | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/databases/riak/Makefile b/databases/riak/Makefile index 3c036629d10f..0f81bcf3e765 100644 --- a/databases/riak/Makefile +++ b/databases/riak/Makefile @@ -13,7 +13,7 @@ LICENSE= APACHE20 BUILD_DEPENDS= ${LOCALBASE}/lib/erlang15/bin/erlc:${PORTSDIR}/lang/erlang-runtime15 -USES= gmake +USES= gmake readline USE_RC_SUBR= riak PLIST= ${WRKDIR}/pkg-plist @@ -46,24 +46,24 @@ pre-install: ${CAT} ${PKGDIR}/pkg-plist >> ${PLIST} ${ECHO} "@owner ${USERS}" >> ${PLIST} ${ECHO} "@group ${GROUPS}" >> ${PLIST} - cd ${WRKSRC}/rel/${PORTNAME}; ${FIND} releases -type f \ + (cd ${WRKSRC}/rel/${PORTNAME}; ${FIND} releases -type f \ | ${AWK} '{print length, $$0}' | ${SORT} -rn | ${SED} -e 's/^/lib\//' \ - | ${AWK} '{print "lib/riak/"$$2 }' >> ${PLIST} - cd ${WRKSRC}/rel/${PORTNAME}; ${FIND} erts-* -type f \ + | ${AWK} '{print "lib/riak/"$$2 }' >> ${PLIST}) + (cd ${WRKSRC}/rel/${PORTNAME}; ${FIND} erts-* -type f \ | ${AWK} '{print length, $$0}' | ${SORT} -rn \ - | ${AWK} '{print "lib/riak/"$$2 }' >> ${PLIST} - cd ${WRKSRC}/rel; ${FIND} ${PORTNAME}/lib -type f \ + | ${AWK} '{print "lib/riak/"$$2 }' >> ${PLIST}) + (cd ${WRKSRC}/rel; ${FIND} ${PORTNAME}/lib -type f \ | ${AWK} '{print length, $$0}' | ${SORT} -rn | ${SED} -e 's/^/lib\//' \ - | ${AWK} '{print "lib/"$$2 }' >> ${PLIST} - cd ${WRKSRC}/rel/${PORTNAME}; ${FIND} releases -type d \ + | ${AWK} '{print "lib/"$$2 }' >> ${PLIST}) + (cd ${WRKSRC}/rel/${PORTNAME}; ${FIND} releases -type d \ | ${AWK} '{print length, $$0}' | ${SORT} -rn | ${SED} -e 's/^/lib\//' \ - | ${AWK} '{print "lib/riak/"$$2 }' | ${SED} -e "s/^/@dirrm\ /" >> ${PLIST} - cd ${WRKSRC}/rel/${PORTNAME}; ${FIND} erts-* -type d \ + | ${AWK} '{print "lib/riak/"$$2 }' | ${SED} -e "s/^/@dirrm\ /" >> ${PLIST}) + (cd ${WRKSRC}/rel/${PORTNAME}; ${FIND} erts-* -type d \ | ${AWK} '{print length, $$0}' | ${SORT} -rn | ${SED} -e 's/^/lib\//' \ - | ${AWK} '{print "lib/riak/"$$2 }' | ${SED} -e "s/^/@dirrm\ /" >> ${PLIST} - cd ${WRKSRC}/rel; ${FIND} ${PORTNAME}/lib -type d \ + | ${AWK} '{print "lib/riak/"$$2 }' | ${SED} -e "s/^/@dirrm\ /" >> ${PLIST}) + (cd ${WRKSRC}/rel; ${FIND} ${PORTNAME}/lib -type d \ | ${AWK} '{print length, $$0}' | ${SORT} -rn | ${SED} -e 's/^/lib\//' \ - | ${AWK} '{print "lib/"$$2 }' | ${SED} -e "s/^/@dirrm\ /" >> ${PLIST} + | ${AWK} '{print "lib/"$$2 }' | ${SED} -e "s/^/@dirrm\ /" >> ${PLIST}) ${ECHO} "@dirrm lib/riak" >> ${PLIST} ${ECHO} "@cwd /" >> ${PLIST} ${ECHO} "@dirrmtry %%RIAK_DBDIR%%" >> ${PLIST} |