summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2010-04-01 21:40:58 +0200
committerAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2010-04-01 22:16:22 +0200
commita7122153c6d44d0316bfe4a082a94df51500c197 (patch)
tree144b38dc2ef1d1e06d482c34db402ccbd995e644 /packages
parent493f0527817aeec87b9344211b7caeaf365fd6a0 (diff)
downloadembtoolkit-a7122153c6d44d0316bfe4a082a94df51500c197.tar.gz
embtoolkit-a7122153c6d44d0316bfe4a082a94df51500c197.tar.bz2
embtoolkit-a7122153c6d44d0316bfe4a082a94df51500c197.tar.xz
Packages: xserver: put all static configure options in a variable
Signed-off-by: Abdoulaye Walsimou Gaye <walsimou@walsimou.com>
Diffstat (limited to 'packages')
-rw-r--r--packages/x11/xserver/xserver.mk28
1 files changed, 18 insertions, 10 deletions
diff --git a/packages/x11/xserver/xserver.mk b/packages/x11/xserver/xserver.mk
index ea6159b..63dd682 100644
--- a/packages/x11/xserver/xserver.mk
+++ b/packages/x11/xserver/xserver.mk
@@ -33,7 +33,7 @@ XSERVER_INCLUDES =
XSERVER_LIBS = xorg/protocol.txt
XSERVER_PKGCONFIGS =
-XSERVER_DEPS = utilmacros_install bigreqsproto_install compositeproto_install \
+XSERVER_DEPS := utilmacros_install bigreqsproto_install compositeproto_install \
damageproto_install fixesproto_install fontsproto_install \
inputproto_install kbproto_install randrproto_install \
renderproto_install resourceproto_install videoproto_install \
@@ -41,6 +41,16 @@ XSERVER_DEPS = utilmacros_install bigreqsproto_install compositeproto_install \
xproto_install libxfont_install libxkbfile_install \
xtrans_install openssl_install
+XSERVER_CONFIGURE_OPTS := --enable-kdrive --with-sha1=libcrypto \
+ --disable-xorg --disable-aiglx --disable-glx-tls --disable-dga \
+ --disable-xdmcp --disable-xdm-auth-1 --disable-config-hal \
+ --disable-xf86vidmode --disable-xf86bigfont --disable-xnest \
+ --disable-xquartz --disable-xwin --disable-xfake \
+ --disable-install-setuid --disable-xvfb --disable-dmx \
+ --disable-glx --disable-xinerama --disable-xfree86-utils \
+ --disable-screensaver --disable-dri --disable-tcp-transport \
+ --disable-ipv6
+
xserver_install: $(XSERVER_BUILD_DIR)/.installed
$(XSERVER_BUILD_DIR)/.installed: $(XSERVER_DEPS) download_xserver \
@@ -89,15 +99,13 @@ $(XSERVER_BUILD_DIR)/.configured:
XLIB_LIBS=`$(PKGCONFIG_BIN) xcb --libs` \
./configure --build=$(HOST_BUILD) --host=$(STRICT_GNU_TARGET) \
--target=$(STRICT_GNU_TARGET) --libdir=/usr/$(LIBDIR) \
- --prefix=/usr --enable-kdrive --with-sha1=libcrypto \
- --disable-xorg --disable-aiglx --disable-glx-tls --disable-dga \
- --disable-xdmcp --disable-xdm-auth-1 --disable-config-hal \
- --disable-xf86vidmode --disable-xf86bigfont --disable-xnest \
- --disable-xquartz --disable-xwin --disable-xfake \
- --disable-install-setuid --disable-xvfb --disable-dmx \
- --disable-glx --disable-xinerama --disable-xfree86-utils \
- --disable-screensaver --disable-dri --disable-tcp-transport \
- --disable-ipv6
+ --prefix=/usr $(XSERVER_CONFIGURE_OPTS) \
+ --with-vendor-name="Embedded Systems Toolkit" \
+ --with-vendor-name-short="EmbToolkit" \
+ --with-vendor-web="http://www.embtoolkit.org" \
+ --with-builderstring="embtoolkit-$(EMBTK_VERSION)" \
+ --with-builder-addr="embtk-devel@embtoolkit.org" \
+ --with-os-name=$(STRICT_GNU_TARGET) --with-os-vendor="embtoolkit.org"
@touch $@
xserver_clean: