ports/101273: Update port: x11-wm/dwm to 0.6
Jeroen Schot
schot at a-eskwadraat.nl
Wed Aug 2 17:50:21 UTC 2006
>Number: 101273
>Category: ports
>Synopsis: Update port: x11-wm/dwm to 0.6
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Aug 02 17:50:19 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Jeroen Schot
>Release: 6.1
>Organization:
>Environment:
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:
Update the port of dwm from 0.5 to 0.6.
>How-To-Repeat:
>Fix:
diff -ur dwm.orig/Makefile dwm/Makefile
--- dwm.orig/Makefile Wed Aug 2 19:27:43 2006
+++ dwm/Makefile Wed Aug 2 19:34:40 2006
@@ -6,7 +6,7 @@
#
PORTNAME= dwm
-PORTVERSION= 0.5
+PORTVERSION= 0.6
CATEGORIES= x11-wm
MASTER_SITES= http://10kloc.org/download/ \
http://schot.a-eskwadraat.nl/files/
@@ -18,5 +18,8 @@
MAN1= dwm.1
PLIST_FILES= bin/dwm
+
+post-patch:
+ ${CP} ${WRKSRC}/config.default.h ${WRKSRC}/config.h
.include <bsd.port.mk>
diff -ur dwm.orig/distinfo dwm/distinfo
--- dwm.orig/distinfo Wed Aug 2 19:27:43 2006
+++ dwm/distinfo Wed Aug 2 19:08:48 2006
@@ -1,3 +1,3 @@
-MD5 (dwm-0.5.tar.gz) = e8dfa2d3502d6bc9aeb9f0f21ab2dec5
-SHA256 (dwm-0.5.tar.gz) = d025d5a43dc09fa81985ea41363cd2dbc967a8923d6b62a930a7238a56ca1473
-SIZE (dwm-0.5.tar.gz) = 13795
+MD5 (dwm-0.6.tar.gz) = be86556b42a6aef84c99a5774a5acd46
+SHA256 (dwm-0.6.tar.gz) = 3e460f2f736a56972da800d5e96d63bc164de087f984cc516055abdb5e547563
+SIZE (dwm-0.6.tar.gz) = 13998
diff -ur dwm.orig/files/patch-config.mk dwm/files/patch-config.mk
--- dwm.orig/files/patch-config.mk Wed Aug 2 19:27:43 2006
+++ dwm/files/patch-config.mk Wed Aug 2 19:17:45 2006
@@ -1,7 +1,7 @@
---- config.mk.orig Fri Jul 21 21:14:42 2006
-+++ config.mk Sat Jul 29 21:01:26 2006
-@@ -1,11 +1,11 @@
- # Customize to fit your system
+--- config.mk.orig Wed Aug 2 18:59:04 2006
++++ config.mk Wed Aug 2 19:00:14 2006
+@@ -4,21 +4,21 @@
+ # Customize below to fit your system
# paths
-PREFIX = /usr/local
@@ -14,21 +14,17 @@
+X11INC = $(X11BASE)/include
+X11LIB = $(X11BASE)/lib
- VERSION = 0.5
-
-@@ -13,7 +13,7 @@
- LIBS = -L${PREFIX}/lib -L/usr/lib -lc -L${X11LIB} -lX11
-
- # Linux/BSD
--CFLAGS = -O3 -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
-+CFLAGS+= -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
- -DVERSION=\"${VERSION}\"
+ # includes and libs
+ INCS = -I/usr/lib -I${X11INC}
+ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
+
+ # flags+-CFLAGS = -O3 ${INCS} -DVERSION=\"${VERSION}\"
++CFLAGS+= ${INCS} -DVERSION=\"${VERSION}\"
LDFLAGS = ${LIBS}
- #CFLAGS = -g -Wall -O2 -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
-@@ -26,5 +26,5 @@
- #LIBS += -lnsl -lsocket
+ #CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\"
+ #LDFLAGS = -g ${LIBS}
- AR = ar cr
+ # compiler
-CC = cc
+CC?= cc
- RANLIB = ranlib
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list