ports/108602: Update port: x11-wm/dwm fix DWM_CONF knob
Jeroen Schot
schot at a-eskwadraat.nl
Wed Jan 31 13:50:16 UTC 2007
>Number: 108602
>Category: ports
>Synopsis: Update port: x11-wm/dwm fix DWM_CONF knob
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Jan 31 13:50:15 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Jeroen Schot
>Release: FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD vocal 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:32:43 UTC 2006 root at opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
The DWM_CONF knob did nothing in a clean environment. This patch fixes this.
>How-To-Repeat:
>Fix:
diff -ruN dwm.orig/Makefile dwm/Makefile
--- dwm.orig/Makefile Thu Jan 25 18:50:04 2007
+++ dwm/Makefile Wed Jan 31 14:37:07 2007
@@ -16,17 +16,18 @@
USE_XLIB= yes
+MAN1= dwm.1
+PLIST_FILES= bin/dwm
+
pre-everything::
- @${ECHO} ==================================================================
- @${ECHO} You may build dwm with your own config.h, just use DWM_CONF knob:
- @${ECHO} make DWM_CONF=/path/to/dwm/config.h install clean
- @${ECHO} ==================================================================
+ @${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-3.2 config.h-files no longer work."
+post-extract:
.if defined(DWM_CONF)
- @${CP} {$DWM_CONF} ${WRKSRC}/config.h
+ @${ECHO_MSG} "creating config.h from ${DWM_CONF}"
+ @${CP} ${DWM_CONF} ${WRKSRC}/config.h
.endif
-
-MAN1= dwm.1
-PLIST_FILES= bin/dwm
.include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list