aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/pawm/Makefile
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2006-06-24 02:19:18 +0800
committererwin <erwin@FreeBSD.org>2006-06-24 02:19:18 +0800
commitf289fa066750395fa5e99229f53e17efed809c34 (patch)
tree9e1609c5b3b7392240e85fca672c6f8c9d579c68 /x11-wm/pawm/Makefile
parent7e6021d3f8ccef549bdf186d733429fcca2a2275 (diff)
downloadfreebsd-ports-gnome-f289fa066750395fa5e99229f53e17efed809c34.tar.gz
freebsd-ports-gnome-f289fa066750395fa5e99229f53e17efed809c34.tar.zst
freebsd-ports-gnome-f289fa066750395fa5e99229f53e17efed809c34.zip
Update to 2.2.4
PR: 99383 Submitted by: Ports fury
Diffstat (limited to 'x11-wm/pawm/Makefile')
-rw-r--r--x11-wm/pawm/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/x11-wm/pawm/Makefile b/x11-wm/pawm/Makefile
index 54c90129c60b..2ff13d105df1 100644
--- a/x11-wm/pawm/Makefile
+++ b/x11-wm/pawm/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= pawm
-PORTVERSION= 2.2.3
+PORTVERSION= 2.2.4
CATEGORIES= x11-wm
MASTER_SITES= http://www.pleyades.net/pawm/files/
@@ -21,7 +21,7 @@ MAKEFILE= Makefile.in
MAKE_ARGS= GCC="${CC}" MAKE.binary="${CC} ${LDFLAGS} -o"
CFLAGS+= -I. -I${X11BASE}/include -DNDEBUG
-LDFLAGS= -lm -L${X11BASE}/lib -lXpm -lXrandr
+LDFLAGS= -lm -L${X11BASE}/lib -lXpm
.include <bsd.port.pre.mk>
@@ -31,13 +31,18 @@ CFLAGS+= -Dintmax_t=u_int32_t -Duintmax_t=u_int32_t \
-DSIZE_MAX=UINT_MAX
.endif
-.if ${X_WINDOW_SYSTEM} == xfree86-3 || defined(WITHOUT_XFT)
+.if ${X_WINDOW_SYSTEM} == xfree86-3
+CFLAGS+= -DDISABLE_XFT -DDISABLE_XRANDR
+.else
+LDFLAGS+= -lXrandr
+.if defined(WITHOUT_XFT)
CFLAGS+= -DDISABLE_XFT
.else
LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/libXft
CFLAGS+= `pkg-config --cflags xft`
LDFLAGS+= `pkg-config --libs xft`
.endif
+.endif
.if defined(WITH_SN)
LIB_DEPENDS+= startup-notification-1.0:${PORTSDIR}/x11/startup-notification