Index: x11/dmenu/Makefile =================================================================== --- x11/dmenu/Makefile +++ x11/dmenu/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= dmenu -PORTVERSION= 4.8 +DISTVERSION= 4.9 CATEGORIES= x11 MASTER_SITES= http://dl.suckless.org/tools/ \ http://schot.a-eskwadraat.nl/files/ @@ -28,6 +28,13 @@ XINERAMA_USE= XORG=xinerama XINERAMA_MAKE_ARGS_OFF= XINERAMAFLAGS= XINERAMALIBS= + +post-configure: + @${REINPLACE_CMD} -E \ + -e "s|(CFLAGS[[:space:]]*)= |\1+= |" \ + -e "s|(CPPFLAGS[[:space:]]*)= |\1+= |" \ + -e "s|(LDFLAGS[[:space:]]*)= |\1+= |" \ + ${WRKSRC}/config.mk post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dmenu \ Index: x11/dmenu/distinfo =================================================================== --- x11/dmenu/distinfo +++ x11/dmenu/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1521227102 -SHA256 (dmenu-4.8.tar.gz) = fe615a5c3607061e2106700862e82ac62a9fa1e6a7ac3d616a9c76106476db61 -SIZE (dmenu-4.8.tar.gz) = 15658 +TIMESTAMP = 1551305095 +SHA256 (dmenu-4.9.tar.gz) = b3971f4f354476a37b2afb498693649009b201550b0c7c88e866af8132b64945 +SIZE (dmenu-4.9.tar.gz) = 15972 Index: x11/dmenu/files/patch-config.mk =================================================================== --- x11/dmenu/files/patch-config.mk +++ x11/dmenu/files/patch-config.mk @@ -1,15 +0,0 @@ ---- config.mk.orig 2018-03-16 19:56:18 UTC -+++ config.mk -@@ -23,9 +23,9 @@ INCS = -I${X11INC} -I${FREETYPEINC} - LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS} - - # flags --CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} --CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} --LDFLAGS = -s ${LIBS} -+CPPFLAGS+= -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} -+CFLAGS += -std=c99 ${INCS} ${CPPFLAGS} -+LDFLAGS += ${LIBS} - - # compiler and linker - CC = cc