diff options
author | olgeni <olgeni@FreeBSD.org> | 2009-06-12 00:35:12 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2009-06-12 00:35:12 +0800 |
commit | fe37e7bf8f618d83eda72e9dbacf14eb70f333e8 (patch) | |
tree | 46d2a2d677d70e707fb104ba296950c3b02a1720 /lang | |
parent | 7f2f040461fba834bab4ccb87610a729703029d8 (diff) | |
download | freebsd-ports-gnome-fe37e7bf8f618d83eda72e9dbacf14eb70f333e8.tar.gz freebsd-ports-gnome-fe37e7bf8f618d83eda72e9dbacf14eb70f333e8.tar.zst freebsd-ports-gnome-fe37e7bf8f618d83eda72e9dbacf14eb70f333e8.zip |
Unbreak PLIST for erlang-lite.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/erlang/Makefile | 11 | ||||
-rw-r--r-- | lang/erlang14/Makefile | 11 |
2 files changed, 14 insertions, 8 deletions
diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile index c697d19e334e..f484b54277c9 100644 --- a/lang/erlang/Makefile +++ b/lang/erlang/Makefile @@ -7,7 +7,7 @@ PORTNAME= erlang PORTVERSION= r13b01 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= lang parallel java MASTER_SITES= http://www.erlang.org/download/ \ @@ -160,18 +160,21 @@ post-install: # Stock OTP libraries. @for LIBRARY in ${OTP_LIBS}; do \ - cd ${PREFIX} ; ${FIND} lib/erlang/lib/$${LIBRARY} -type f -o -type l; \ + cd ${PREFIX} ; ${TEST} -d lib/erlang/lib/$${LIBRARY} \ + && ${FIND} lib/erlang/lib/$${LIBRARY} -type f -o -type l; \ done | ${SORT} >> ${ERLANG_PLIST} # Stock OTP library directories. @for LIBRARY in ${OTP_LIBS}; do \ - cd ${PREFIX} ; ${FIND} lib/erlang/lib/$${LIBRARY} -type d -empty \ + cd ${PREFIX} ; ${TEST} -d lib/erlang/lib/$${LIBRARY} \ + && ${FIND} lib/erlang/lib/$${LIBRARY} -type d -empty \ | ${SED} -e 's#^#@exec ${MKDIR} %D/#g'; \ done | ${SORT} >> ${ERLANG_PLIST} @for LIBRARY in ${OTP_LIBS}; do \ - cd ${PREFIX} ; ${FIND} lib/erlang/lib/$${LIBRARY} -type d \ + cd ${PREFIX} ; ${TEST} -d lib/erlang/lib/$${LIBRARY} \ + && ${FIND} lib/erlang/lib/$${LIBRARY} -type d \ | ${SED} -e 's/^/@dirrm /g'; \ done | ${SORT} -r >> ${ERLANG_PLIST} diff --git a/lang/erlang14/Makefile b/lang/erlang14/Makefile index c697d19e334e..f484b54277c9 100644 --- a/lang/erlang14/Makefile +++ b/lang/erlang14/Makefile @@ -7,7 +7,7 @@ PORTNAME= erlang PORTVERSION= r13b01 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= lang parallel java MASTER_SITES= http://www.erlang.org/download/ \ @@ -160,18 +160,21 @@ post-install: # Stock OTP libraries. @for LIBRARY in ${OTP_LIBS}; do \ - cd ${PREFIX} ; ${FIND} lib/erlang/lib/$${LIBRARY} -type f -o -type l; \ + cd ${PREFIX} ; ${TEST} -d lib/erlang/lib/$${LIBRARY} \ + && ${FIND} lib/erlang/lib/$${LIBRARY} -type f -o -type l; \ done | ${SORT} >> ${ERLANG_PLIST} # Stock OTP library directories. @for LIBRARY in ${OTP_LIBS}; do \ - cd ${PREFIX} ; ${FIND} lib/erlang/lib/$${LIBRARY} -type d -empty \ + cd ${PREFIX} ; ${TEST} -d lib/erlang/lib/$${LIBRARY} \ + && ${FIND} lib/erlang/lib/$${LIBRARY} -type d -empty \ | ${SED} -e 's#^#@exec ${MKDIR} %D/#g'; \ done | ${SORT} >> ${ERLANG_PLIST} @for LIBRARY in ${OTP_LIBS}; do \ - cd ${PREFIX} ; ${FIND} lib/erlang/lib/$${LIBRARY} -type d \ + cd ${PREFIX} ; ${TEST} -d lib/erlang/lib/$${LIBRARY} \ + && ${FIND} lib/erlang/lib/$${LIBRARY} -type d \ | ${SED} -e 's/^/@dirrm /g'; \ done | ${SORT} -r >> ${ERLANG_PLIST} |