FreeBSD Bugzilla – Attachment 163288 Details for
Bug 204658
x11-wm/dwm: update to 6.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
cleanup part1 (option helpers)
option-helpers.diff (text/plain), 1.73 KB, created by
Jan Beich
on 2015-11-18 12:21:17 UTC
(
hide
)
Description:
cleanup part1 (option helpers)
Filename:
MIME Type:
Creator:
Jan Beich
Created:
2015-11-18 12:21:17 UTC
Size:
1.73 KB
patch
obsolete
>commit bd75b7c >Author: Jan Beich <jbeich@FreeBSD.org> >Date: Wed Nov 18 09:39:18 2015 +0000 > > x11-wm/dwm: convert to option helpers > > But keep DWM_CONF working if defined via Makefile.local >--- > x11-wm/dwm/Makefile | 20 ++++++++------------ > 1 file changed, 8 insertions(+), 12 deletions(-) > >diff --git a/x11-wm/dwm/Makefile b/x11-wm/dwm/Makefile >index ab8ab82..996e753 100644 >--- a/x11-wm/dwm/Makefile >+++ b/x11-wm/dwm/Makefile >@@ -19,38 +19,34 @@ LIB_DEPENDS= libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig > OPTIONS_DEFINE= XINERAMA DOCS > OPTIONS_DEFAULT=XINERAMA > >+XINERAMA_USE= XORG=xinerama >+ > USE_XORG= x11 xft > > PLIST_FILES= bin/dwm \ > man/man1/dwm.1.gz > PORTDOCS= README > >-.include <bsd.port.options.mk> >- >-.if ${PORT_OPTIONS:MXINERAMA} >-USE_XORG+= xinerama >-.endif >- > pre-everything:: > @${ECHO_MSG} "You can build dwm with your own config.h using the DWM_CONF knob:" > @${ECHO_MSG} "make DWM_CONF=/path/to/dwm/config.h install clean" > @${ECHO_MSG} "Note: Pre-${PORTVERSION} config.h-files may not work." > > post-extract: >-.if defined(DWM_CONF) >- @${ECHO_MSG} "creating config.h from ${DWM_CONF}" >- @${CP} ${DWM_CONF} ${WRKSRC}/config.h >-.endif >+ @if [ -e "${DWM_CONF}" ]; then \ >+ ${ECHO_MSG} "creating config.h from ${DWM_CONF}"; \ >+ ${CP} "${DWM_CONF}" ${WRKSRC}/config.h; \ >+ fi > > post-patch: > @${GREP} -Rl '%%[[:alpha:]]\+%%' ${WRKSRC}|${XARGS} ${REINPLACE_CMD} \ > -e "s,%%PREFIX%%,${PREFIX},g" \ > -e "s,%%LOCALBASE%%,${LOCALBASE},g" \ > -e "s,%%MANPREFIX%%,${MANPREFIX},g" >-.if empty(PORT_OPTIONS:MXINERAMA) >+ >+post-patch-XINERAMA-off: > @${REINPLACE_CMD} -e 's,$${XINERAMALIBS},,g' \ > -e 's,$${XINERAMAFLAGS},,g' ${WRKSRC}/config.mk >-.endif > > post-install: > @${MKDIR} ${STAGEDIR}${DOCSDIR}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 204658
:
163287
| 163288 |
163289
|
163290