[Midnightbsd-cvs] mports: Makefile: add hal on/off
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Fri Jul 25 02:06:40 EDT 2008
Log Message:
-----------
add hal on/off
Modified Files:
--------------
mports/x11-servers/xorg-dmx:
Makefile (r1.3 -> r1.4)
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/x11-servers/xorg-dmx/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -L x11-servers/xorg-dmx/Makefile -L x11-servers/xorg-dmx/Makefile -u -r1.3 -r1.4
--- x11-servers/xorg-dmx/Makefile
+++ x11-servers/xorg-dmx/Makefile
@@ -9,15 +9,13 @@
PORTNAME= xorg-dmx
PORTVERSION= 1.4
PORTEPOCH= 1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11-servers
MAINTAINER= ports at MidnightBSD.org
COMMENT= Distributed Multihead X from X.Org
LICENSE= x11
-CONFLICTS= XFree86-dmx-[0-9]*
-
XORG_CAT= xserver
LIB_DEPENDS= drm:${PORTSDIR}/graphics/libdrm
@@ -28,14 +26,25 @@
compositeproto trapproto recordproto resourceproto \
xineramaproto evieproto xkbfile xfont fontenc xkbui \
xxf86misc xxf86vm xaw7 xmu xpm xext xrender xfixes xi dmxproto \
- xau dmx xtst xres pixman
+ xau dmx xtst xres pixman xtrans
CONFIGURE_ARGS= --disable-xprint --disable-xvfb --disable-xorg --disable-xnest \
- --disable-config-hal --enable-dmx --localstatedir=/var
+ --enable-dmx --localstatedir=/var
MAN1= Xdmx.1 dmxtodmx.1 vdltodmx.1 xdmxconfig.1
do-install:
cd ${WRKSRC}/hw/dmx; ${MAKE} ${FAKE_MAKEARGS} install
-.include <bsd.port.mk>
+OPTIONS= HAL "Compile with HAL config support" on
+
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_HAL)
+LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal
+CONFIGURE_ARGS+= --enable-config-hal=yes
+.else
+CONFIGURE_ARGS+= --enable-config-hal=no
+.endif
+
+.include <bsd.port.post.mk>
More information about the Midnightbsd-cvs
mailing list