1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

- Update to 5.0.1

PR:		124832
Submitted by:	Jeroen Schot <schot@a-eskwadraat.nl> (maintainer)
This commit is contained in:
Martin Wilke 2008-06-23 11:01:20 +00:00
parent b50de55461
commit 597c5e9c9f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=215615
3 changed files with 19 additions and 22 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= dwm
PORTVERSION= 4.9
PORTVERSION= 5.0.1
CATEGORIES= x11-wm
MASTER_SITES= http://www.suckless.org/download/ \
http://schot.a-eskwadraat.nl/files/
@ -16,7 +16,7 @@ COMMENT= A dynamic, small, fast and simple window manager
RUN_DEPENDS= dmenu:${PORTSDIR}/x11/dmenu
USE_XORG= x11
USE_XORG= x11 xinerama
MAN1= dwm.1
PLIST_FILES= bin/dwm
@ -25,7 +25,7 @@ PORTDOCS= LICENSE README
pre-everything::
@${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-4.9 config.h-files no longer work."
@${ECHO_MSG} "Note: Pre-5.0 config.h-files no longer work."
post-extract:
.if defined(DWM_CONF)

View File

@ -1,3 +1,3 @@
MD5 (dwm-4.9.tar.gz) = cf72c6a72e6c35c132b5db4faf3fb358
SHA256 (dwm-4.9.tar.gz) = 3f4f595e7845cedce1696668adf0a8ade2fc8a72d4c32d53de35a7c5d900790d
SIZE (dwm-4.9.tar.gz) = 18132
MD5 (dwm-5.0.1.tar.gz) = 27d91d886c9ba1aad4b09178e2653ee0
SHA256 (dwm-5.0.1.tar.gz) = f39e2b62d75b79489c535dc3cfcd6ea2b9c412857448519f29a4eed7af2f33a3
SIZE (dwm-5.0.1.tar.gz) = 17954

View File

@ -1,6 +1,6 @@
--- config.mk.orig 2008-04-03 22:57:01.000000000 +0200
+++ config.mk 2008-04-04 12:05:19.000000000 +0200
@@ -4,19 +4,19 @@
--- config.mk.orig 2008-06-18 23:08:29.000000000 +0200
+++ config.mk 2008-06-20 10:39:37.000000000 +0200
@@ -4,11 +4,11 @@
# Customize below to fit your system
# paths
@ -14,21 +14,18 @@
+X11INC = $(LOCALBASE)/include
+X11LIB = $(LOCALBASE)/lib
# includes and libs
INCS = -I. -I/usr/include -I${X11INC}
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
# Xinerama, comment if you don't want it
XINERAMALIBS = -L${X11LIB} -lXinerama
@@ -19,9 +19,9 @@
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${XINERAMALIBS}
# flags
-CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\"
-CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
-LDFLAGS = -s ${LIBS}
+CFLAGS+= ${INCS} -DVERSION=\"${VERSION}\"
+CPPFLAGS+= -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
+CFLAGS+= ${INCS} ${CPPFLAGS}
+LDFLAGS+= ${LIBS}
#CFLAGS = -g -std=c99 -pedantic -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\"
#LDFLAGS = -g ${LIBS}
@@ -25,4 +25,4 @@
#LDFLAGS = ${LIBS}
# compiler and linker
-CC = cc
+CC?= cc
# Solaris
#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"