svn commit: r403755 - head/shells/zsh

Baptiste Daroussin bapt at FreeBSD.org
Tue Dec 15 07:40:39 UTC 2015


On Tue, Dec 15, 2015 at 04:02:17AM +0000, Adam Weinberger wrote:
> Author: adamw
> Date: Tue Dec 15 04:02:17 2015
> New Revision: 403755
> URL: https://svnweb.freebsd.org/changeset/ports/403755
> 
> Log:
>   Fix static build against devel/ncurses by correcting how zsh tries to link
>   against the terminal libraries. No PORTREVISION bump as this shouldn't really
>   change the generated packages.
>   
>   PR:		181720
>   Submitted by:	wulf at mail.mipt.ru
>   
>   While here, fix a spacing nit and wrap compound commands in parens.
> 
> Modified:
>   head/shells/zsh/Makefile
> 
> Modified: head/shells/zsh/Makefile
> ==============================================================================
> --- head/shells/zsh/Makefile	Tue Dec 15 03:34:36 2015	(r403754)
> +++ head/shells/zsh/Makefile	Tue Dec 15 04:02:17 2015	(r403755)
> @@ -41,7 +41,7 @@ TEST_TARGET=	test
>  CPPFLAGS+=	-I${LOCALBASE}/include -DBOOL_DEFINED
>  LDFLAGS+=	-L${LOCALBASE}/lib -Wl,--as-needed
>  CONFIGURE_ENV+=	zsh_cv_sys_path_dev_fd=no
> -CONFIGURE_ARGS=	--with-term-lib="ncursesw ncurses" --with-tcsetpgrp \
> +CONFIGURE_ARGS=	--with-term-lib="tinfow tinfo" --with-tcsetpgrp \
>  		--enable-function-subdirs --enable-multibyte \
>  		--sysconfdir=${PREFIX}/etc
>  
> @@ -51,7 +51,7 @@ EXTRA_PATCHES=	${FILESDIR}/extra-patch-b
>  
>  OPTIONS_DEFINE=	GDBM MEM SECURE_FREE MAILDIR PCRE STATIC DOCS DEBUG \
>  		EXAMPLES
> -OPTIONS_DEFAULT=	SECURE_FREE MAILDIR
> +OPTIONS_DEFAULT=SECURE_FREE MAILDIR
>  
>  GDBM_DESC=	Enable GDBM support (GPL)
>  MEM_DESC=	Enable zsh-mem options
> @@ -112,28 +112,28 @@ post-build:
>  	# Fix ".so" macro problem by using "soelim" command.
>  	${LN} -sf ${WRKSRC}/Doc ${WRKSRC}/man1
>  	${MV} ${WRKSRC}/Doc/zshall.1 ${WRKSRC}/Doc/zshall.1.source
> -	cd ${WRKSRC} && ${SOELIM} -r ${WRKSRC}/Doc/zshall.1.source > \
> -		${WRKSRC}/Doc/zshall.1
> +	(cd ${WRKSRC} && ${SOELIM} -r ${WRKSRC}/Doc/zshall.1.source > \
> +		${WRKSRC}/Doc/zshall.1)
>  
>  post-install:
>  	${LN} -f ${STAGEDIR}${PREFIX}/bin/zsh ${STAGEDIR}${PREFIX}/bin/rzsh
> -	${STAGEDIR}${PREFIX}/bin/zsh -fc ' \
> +	(${STAGEDIR}${PREFIX}/bin/zsh -fc ' \
>  		setopt extendedglob nomark_dirs; \
>  		cd ${STAGEDIR}/${DATADIR}/${ZSH_VER} ; \
>  		for i in functions/**/*(/) ; do \
>  			zcompile -U -M $$i.zwc $$i/*~*.zwc(^/) ; \
>  			${CHMOD} 644 $$i.zwc ; \
> -		done'
> +		done')
>  
>  post-install-EXAMPLES-on:
>  	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
> -	cd ${WRKSRC}/StartupFiles && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
> +	(cd ${WRKSRC}/StartupFiles && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR})
>  
>  post-install-DOCS-on:
>  	@${MKDIR} ${STAGEDIR}${DOCSDIR}
> -	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
> +	(cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR})
>  
>  regression-test:
> -	@cd ${WRKSRC}; ${SETENV} -i ${MAKE} check
> +	@(cd ${WRKSRC}; ${SETENV} -i ${MAKE} check)

Note that this target is now useless, I forgot to remove it after having
integrated to the ports test framework

Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20151215/c330dd49/attachment.sig>


More information about the svn-ports-head mailing list