ports/157263: Update port: x11/dmenu to 4.3.1
Jeroen Schot
schot at A-Eskwadraat.nl
Mon May 23 08:00:21 UTC 2011
>Number: 157263
>Category: ports
>Synopsis: Update port: x11/dmenu to 4.3.1
>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: Mon May 23 08:00:20 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 at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Update port: x11/dmenu
Attached diff updates the port of x11/dmenu from 4.2.1 to 4.3.1 and
adds the LICENSE and LICENSE_FILE variables to the Makefile.
>How-To-Repeat:
>Fix:
diff -ruN dmenu.orig/Makefile dmenu/Makefile
--- dmenu.orig/Makefile 2011-03-25 14:23:32.000000000 +0100
+++ dmenu/Makefile 2011-05-23 09:23:50.000000000 +0200
@@ -6,8 +6,7 @@
#
PORTNAME= dmenu
-PORTVERSION= 4.2.1
-PORTREVISION= 1
+PORTVERSION= 4.3.1
CATEGORIES= x11
MASTER_SITES= http://dl.suckless.org/tools/ \
http://schot.a-eskwadraat.nl/files/
@@ -22,6 +21,9 @@
MAN1= dmenu.1
PLIST_FILES= bin/dmenu bin/dmenu_path bin/dmenu_run
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
.include <bsd.port.options.mk>
.if defined(WITH_XINERAMA)
diff -ruN dmenu.orig/distinfo dmenu/distinfo
--- dmenu.orig/distinfo 2011-03-09 17:55:56.000000000 +0100
+++ dmenu/distinfo 2011-05-20 20:24:34.000000000 +0200
@@ -1,2 +1,2 @@
-SHA256 (dmenu-4.2.1.tar.gz) = 30bd5ff7d54befcfeb5d5e0bc9316bc4752f4fd125d30c1ed8127eaa668ff069
-SIZE (dmenu-4.2.1.tar.gz) = 9426
+SHA256 (dmenu-4.3.1.tar.gz) = 7da646228b52a2a5966b27190701e9514c08ee16ac538404b5dfa13b10b3c0ca
+SIZE (dmenu-4.3.1.tar.gz) = 8905
diff -ruN dmenu.orig/files/patch-Makefile dmenu/files/patch-Makefile
--- dmenu.orig/files/patch-Makefile 2011-03-25 14:23:32.000000000 +0100
+++ dmenu/files/patch-Makefile 2011-05-20 22:59:12.000000000 +0200
@@ -1,28 +1,6 @@
---- Makefile.orig 2010-11-20 10:24:33.000000000 +0100
-+++ Makefile 2011-03-24 17:16:32.000000000 +0100
-@@ -12,16 +12,17 @@
- @echo "CC = ${CC}"
-
- dmenu: dmenu.o draw.o
-+ @echo CC -o $@
-+ @${CC} -o $@ dmenu.o draw.o ${LDFLAGS}
-+
- dmenu_path: dmenu_path.o
-+ @echo CC -o $@
-+ @${CC} -o $@ dmenu_path.o ${LDFLAGS}
-
- .c.o: config.mk
- @echo CC -c $<
- @${CC} -c $< ${CFLAGS}
-
--dmenu dmenu_path:
-- @echo CC -o $@
-- @${CC} -o $@ $+ ${LDFLAGS}
--
- clean:
- @echo cleaning
- @rm -f dmenu dmenu.o draw.o dmenu_path dmenu_path.o dmenu-${VERSION}.tar.gz
-@@ -41,17 +42,17 @@
+--- Makefile.orig 2011-05-18 18:02:16.000000000 +0200
++++ Makefile 2011-05-20 22:52:15.000000000 +0200
+@@ -43,17 +43,17 @@
@chmod 755 ${DESTDIR}${PREFIX}/bin/dmenu
@chmod 755 ${DESTDIR}${PREFIX}/bin/dmenu_path
@chmod 755 ${DESTDIR}${PREFIX}/bin/dmenu_run
diff -ruN dmenu.orig/files/patch-config.mk dmenu/files/patch-config.mk
--- dmenu.orig/files/patch-config.mk 2011-03-25 14:23:32.000000000 +0100
+++ dmenu/files/patch-config.mk 2011-05-20 22:58:52.000000000 +0200
@@ -1,7 +1,7 @@
---- config.mk.orig 2010-11-20 10:24:33.000000000 +0100
-+++ config.mk 2011-03-24 17:19:41.000000000 +0100
-@@ -4,11 +4,11 @@
- # Customize below to fit your system
+--- config.mk.orig 2011-05-18 18:02:16.000000000 +0200
++++ config.mk 2011-05-20 22:58:36.000000000 +0200
+@@ -2,11 +2,11 @@
+ VERSION = 4.3.1
# paths
-PREFIX = /usr/local
@@ -16,15 +16,15 @@
# Xinerama, comment if you don't want it
XINERAMALIBS = -lXinerama
-@@ -19,9 +19,9 @@
+@@ -17,9 +17,9 @@
LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS}
# flags
-CPPFLAGS = -D_BSD_SOURCE -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
--CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
+-CFLAGS = -ansi -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
-LDFLAGS = -s ${LIBS}
+CPPFLAGS+= -D_BSD_SOURCE -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
-+CFLAGS += -std=c99 ${INCS} ${CPPFLAGS}
++CFLAGS += -ansi ${INCS} ${CPPFLAGS}
+LDFLAGS += ${LIBS}
# compiler and linker
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list