Date: Thu, 1 Sep 2011 14:18:14 +0200 From: Jeroen Schot <schot@A-Eskwadraat.nl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/160359: Update port: x11-wm/dwm to 5.9 Message-ID: <20110901121814.GB6805@A-Eskwadraat.nl> Resent-Message-ID: <201109011240.p81CeBUW087625@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 160359 >Category: ports >Synopsis: Update port: x11-wm/dwm to 5.9 >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: Thu Sep 01 12:40:10 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Jeroen Schot >Release: FreeBSD 8.2-RELEASE i386 >Organization: >Environment: System: FreeBSD maxwell.localdomain 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: Update port: x11-wm/dwm to 5.9 Attached diff updates the port of x11-wm/dwm from 5.8.2 to 5.9 and adds LICENSE support. >How-To-Repeat: >Fix: diff -ruN dwm.orig/Makefile dwm/Makefile --- dwm.orig/Makefile 2011-03-25 14:43:01.000000000 +0100 +++ dwm/Makefile 2011-09-01 14:09:45.000000000 +0200 @@ -6,8 +6,7 @@ # PORTNAME= dwm -PORTVERSION= 5.8.2 -PORTREVISION= 1 +PORTVERSION= 5.9 CATEGORIES= x11-wm MASTER_SITES= http://dl.suckless.org/${PORTNAME}/ \ http://schot.a-eskwadraat.nl/files/ @@ -21,7 +20,10 @@ MAN1= dwm.1 PLIST_FILES= bin/dwm -PORTDOCS= LICENSE README +PORTDOCS= README + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE .include <bsd.port.options.mk> @@ -54,7 +56,6 @@ .if !defined(NOPORTDOCS) @${ECHO_MSG} "installing additional documentation to ${DOCSDIR}" @${MKDIR} ${DOCSDIR} - @${INSTALL_MAN} ${WRKSRC}/LICENSE ${DOCSDIR} @${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR} .endif @${CAT} ${PKGMESSAGE} diff -ruN dwm.orig/distinfo dwm/distinfo --- dwm.orig/distinfo 2011-03-20 13:54:32.000000000 +0100 +++ dwm/distinfo 2011-09-01 13:58:01.000000000 +0200 @@ -1,2 +1,2 @@ -SHA256 (dwm-5.8.2.tar.gz) = c5243bc792e3ff3bb19f0b5fa45f6f98b40254af8757a010d1640a4d9d389b66 -SIZE (dwm-5.8.2.tar.gz) = 20326 +SHA256 (dwm-5.9.tar.gz) = 2dcdd5a2a233c385ef776017263164a288886561b6bf4d6b984562f5f02fe232 +SIZE (dwm-5.9.tar.gz) = 20517 diff -ruN dwm.orig/files/patch-config.mk dwm/files/patch-config.mk --- dwm.orig/files/patch-config.mk 2011-03-25 14:43:01.000000000 +0100 +++ dwm/files/patch-config.mk 2011-09-01 14:00:21.000000000 +0200 @@ -1,5 +1,5 @@ ---- config.mk.orig 2011-03-25 12:53:06.000000000 +0100 -+++ config.mk 2011-03-25 12:54:25.000000000 +0100 +--- config.mk.orig 2011-07-10 22:24:25.000000000 +0200 ++++ config.mk 2011-09-01 14:00:05.000000000 +0200 @@ -4,11 +4,11 @@ # Customize below to fit your system @@ -16,21 +16,21 @@ # Xinerama XINERAMALIBS = -L${X11LIB} -lXinerama -@@ -19,10 +19,10 @@ +@@ -19,15 +19,15 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${XINERAMALIBS} # flags -CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} --CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS} +CPPFLAGS+= -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} + #CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS} +-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} +CFLAGS+= -std=c99 ${INCS} ${CPPFLAGS} - #CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} --LDFLAGS = -g ${LIBS} + #LDFLAGS = -g ${LIBS} +-LDFLAGS = -s ${LIBS} +LDFLAGS+= ${LIBS} - #LDFLAGS = -s ${LIBS} # Solaris -@@ -30,4 +30,4 @@ + #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\" #LDFLAGS = ${LIBS} # compiler and linker >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110901121814.GB6805>