diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-05-05 09:45:36 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-05-05 09:45:36 +0000 |
commit | 4a4ec28d37b64039d4eff0f34ad66b543767d758 (patch) | |
tree | 96cc94ba02edcc043c52eb3f26adbc632bbe44d8 /mail/elm+ME/Makefile | |
parent | - update to version 0.46.0 (diff) |
Convert all :U to :tu and :L to :tl
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a
replacement for :U and :L (which has been marked as deprecated)
bmake which is the default on FreeBSD 10+ only support by default
:tu/:tl a hack has been added at the time to support :U and :L to ease
migration. This hack is now not necessary anymore
Note that this makes the ports tree incompatible with make(1) from
FreeBSD 8.3 or earlier
With hat: portmgr
Notes
Notes:
svn path=/head/; revision=352986
Diffstat (limited to 'mail/elm+ME/Makefile')
-rw-r--r-- | mail/elm+ME/Makefile | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/mail/elm+ME/Makefile b/mail/elm+ME/Makefile index 8be8b61c6919..9d474bd8f3cb 100644 --- a/mail/elm+ME/Makefile +++ b/mail/elm+ME/Makefile @@ -55,8 +55,8 @@ PLIST_SUB= SO_REV="${SO_REV}" \ LIB_DIR="${LIB_DIR:S,^${PREFIX}/,,}" \ SHLIB_DIR="${SHLIB_DIR:S,^${PREFIX}/,,}" \ ELM_SHLIBS="${ELM_SHLIBS}" \ - ${ELM_SHLIBS:U:S/^/ELM_/:S/$/=""/} \ - ${ELM_UNSHLIBS:U:S/^/ELM_/:S/$/="@comment "/} + ${ELM_SHLIBS:tu:S/^/ELM_/:S/$/=""/} \ + ${ELM_UNSHLIBS:tu:S/^/ELM_/:S/$/="@comment "/} MAN1= answer.1 checkalias.1 elm.1 elmalias.1 elmbindata.1 \ elmcharset.1 elmlibregister.1 elmmimetypes.1 \ @@ -97,7 +97,7 @@ USES+= iconv .endif .for shlib in iconv smtp tls -.if ${PORT_OPTIONS:M${shlib:U}} +.if ${PORT_OPTIONS:M${shlib:tu}} ELM_SHLIBS+= ${shlib} .else ELM_UNSHLIBS+= ${shlib} @@ -122,7 +122,7 @@ ELM_RC= elm.rc LOCAL_CONF_FILES= ${MIME_TYPES} ${MIME_CSETS} ${TERM_INFO} ${ELM_RC} DOC_FILES= MIME.txt README.ME+ .for shlib in ${ELM_SHLIBS} -DOC_FILES+= shared_libs/${shlib:L}/README.${shlib:U} +DOC_FILES+= shared_libs/${shlib:tl}/README.${shlib:tu} .endfor .include <bsd.port.pre.mk> @@ -168,18 +168,18 @@ TEE?= tee configure-shlibs: @${CP} /dev/null ${CONFIG_PATH} .for shlib in ${ELM_SYSTEM_SHLIBS} - @${ECHO_CMD} "\# Support for ${shlib:U}" \ - > ${WRKSRC}/shared_libs/${shlib:L}/config.res + @${ECHO_CMD} "\# Support for ${shlib:tu}" \ + > ${WRKSRC}/shared_libs/${shlib:tl}/config.res .endfor .for shlib in ${ELM_SHLIBS} - @${ECHO_CMD} "${shlib:L}_ok='define'" \ + @${ECHO_CMD} "${shlib:tl}_ok='define'" \ | ${TEE} -a ${CONFIG_PATH} \ - >> ${WRKSRC}/shared_libs/${shlib:L}/config.res + >> ${WRKSRC}/shared_libs/${shlib:tl}/config.res .endfor .for shlib in ${ELM_UNSHLIBS} - @${ECHO_CMD} "${shlib:L}_ok='undef'" \ + @${ECHO_CMD} "${shlib:tl}_ok='undef'" \ | ${TEE} -a ${CONFIG_PATH} \ - >> ${WRKSRC}/shared_libs/${shlib:L}/config.res + >> ${WRKSRC}/shared_libs/${shlib:tl}/config.res .endfor # Post-configure @@ -189,9 +189,9 @@ post-configure: rename-readmes rename-readmes: .for shlib in ${ELM_SHLIBS} - @if [ -f ${WRKSRC}/shared_libs/${shlib:L}/README.ME+ ]; then \ - ${MV} ${WRKSRC}/shared_libs/${shlib:L}/README.ME+ \ - ${WRKSRC}/shared_libs/${shlib:L}/README.${shlib:U}; \ + @if [ -f ${WRKSRC}/shared_libs/${shlib:tl}/README.ME+ ]; then \ + ${MV} ${WRKSRC}/shared_libs/${shlib:tl}/README.ME+ \ + ${WRKSRC}/shared_libs/${shlib:tl}/README.${shlib:tu}; \ fi .endfor |