diff options
author | Florent Thoumie <flz@FreeBSD.org> | 2007-12-12 17:34:16 +0000 |
---|---|---|
committer | Florent Thoumie <flz@FreeBSD.org> | 2007-12-12 17:34:16 +0000 |
commit | 1c8aae3467ed9e63f6ee9e13c7859203554d21f7 (patch) | |
tree | 683f8895d8b1a4e084e8a5e9808ba1f2fa02e02f /x11-servers | |
parent | 911d5e61289e46c120a071df4466ae20f02937b9 (diff) | |
download | ports-1c8aae3467ed9e63f6ee9e13c7859203554d21f7.tar.gz ports-1c8aae3467ed9e63f6ee9e13c7859203554d21f7.zip |
Notes
Diffstat (limited to 'x11-servers')
-rw-r--r-- | x11-servers/xorg-server/Makefile | 44 |
1 files changed, 24 insertions, 20 deletions
diff --git a/x11-servers/xorg-server/Makefile b/x11-servers/xorg-server/Makefile index 73ceca9e6031..485a9a823af3 100644 --- a/x11-servers/xorg-server/Makefile +++ b/x11-servers/xorg-server/Makefile @@ -39,25 +39,6 @@ CONFIGURE_ARGS= --with-mesa-source=${WRKDIR}/Mesa-7.0.1 \ --disable-dmx --disable-xvfb --disable-xnest --disable-xprint \ --localstatedir=/var -.if !defined(WITHOUT_HAL) -LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal -CONFIGURE_ARGS+= --enable-config-hal -.else -CONFIGURE_ARGS+= --disable-config-hal -.endif - -.if !defined(WITHOUT_AIGLX) -CONFIGURE_ARGS+= --enable-aiglx=yes -.else -CONFIGURE_ARGS+= --disable-aiglx=yes -.endif - -.if !defined(NO_SUID_XSERVER) || ${NO_SUID_XSERVER} == NO -CONFIGURE_ARGS+=--enable-install-setuid -.else -CONFIGURE_ARGS+=--disable-install-setuid -.endif - MAN1= Xorg.1 \ Xserver.1 \ cvt.1 \ @@ -71,8 +52,31 @@ MAN5= xorg.conf.5 \ NOT_FOR_ARCHS= ia64 alpha +OPTIONS= HAL "Compile with HAL config support" on \ + AIGLX "Compile with Accelerated Indirect GLX support" on \ + SUID "Install the Xorg server with setuid bit set" 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 + +.if !defined(WITHOUT_AIGLX) +CONFIGURE_ARGS+= --enable-aiglx=yes +.else +CONFIGURE_ARGS+= --enable-aiglx=no +.endif + +.if !defined(WITHOUT_SUID) || !defined(NO_SUID_XSERVER) || ${NO_SUID_XSERVER} == NO +CONFIGURE_ARGS+=--enable-install-setuid=yes +.else +CONFIGURE_ARGS+=--enable-install-setuid=no +.endif + .if ${ARCH} == alpha PLIST_SUB+= ALPHA_NA="@comment " .else @@ -101,7 +105,7 @@ MAN1+= scanpci.1 PLIST_SUB+= AMD64_I386_SPARC64="@comment " .endif -.if !defined(NO_SUID_XSERVER) || ${NO_SUID_XSERVER} == NO +.if !defined(WITHOUT_SUID) || !defined(NO_SUID_XSERVER) || ${NO_SUID_XSERVER} == NO pre-everything:: @${ECHO_MSG} "By default, the X Server installs as a set-user-id root binary. When run by" @${ECHO_MSG} "a normal user, it checks arguments and environment as done in the x11/wrapper" |