summaryrefslogtreecommitdiff
path: root/x11/wdm/Makefile
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2002-04-04 14:02:12 +0000
committerWill Andrews <will@FreeBSD.org>2002-04-04 14:02:12 +0000
commit267499ca8a2474cd051e913c7e26ebf1e3b9dd9e (patch)
tree03c4153c1b6f6d344e03130ad9bafa025ab1a792 /x11/wdm/Makefile
parentMake the perl regex to get rid of malloc.h much much more broad. Should (diff)
Add Xinerama support for WDM (yay!!). Bump PORTREVISION.
George helped me better understand the Xinerama API. Please note that there is no support for specifying a particular physical display for which the login frame should appear -- it will always choose physical screen number zero. Helped with this patch: George Staikos <staikos@kde.org>
Notes
Notes: svn path=/head/; revision=57312
Diffstat (limited to 'x11/wdm/Makefile')
-rw-r--r--x11/wdm/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/x11/wdm/Makefile b/x11/wdm/Makefile
index dec87ce14630..c5d607b49bb1 100644
--- a/x11/wdm/Makefile
+++ b/x11/wdm/Makefile
@@ -7,6 +7,7 @@
PORTNAME= wdm
PORTVERSION= 1.20
+PORTREVISION= 1
CATEGORIES= x11 windowmaker
MASTER_SITES= http://www.tcscs.com/wdm/wdm/ \
http://www.de.freebsd.org/de/gif/bsd/
@@ -37,6 +38,13 @@ CONFIGURE_ARGS= --with-logdir=/var/log \
--with-defsystempath=/bin:/usr/bin:/sbin:/usr/sbin:${X11BASE}/bin \
--with-wmlist=wmaker:afterstep:blackbox:ctwm:enlightenment:fvwm:fvwm2:fvwm95:olvwm:qvwm:tvtwm
+.include <bsd.port.pre.mk>
+
+.if ${XFREE86_VERSION} == 4
+CFLAGS+= -DHAVE_XINERAMA
+CONFIGURE_ENV+= LIBS="-Wl,-export-dynamic ${X11BASE}/lib/libXinerama.a"
+.endif
+
MAN1= wdm.1 wdmLogin.1
DAEMONPIC= daemon1-HQ-1280x960.jpg
@@ -79,4 +87,4 @@ post-install:
fi
@${INSTALL_DATA} ${_DISTDIR}/${DAEMONPIC} ${PREFIX}/lib/X11/wdm/pixmaps
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>