]> git.ipfire.org Git - people/ms/ipfire-3.x.git/commitdiff
xorg-x11-server: Make package work on x86_64.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 25 Feb 2012 19:36:02 +0000 (20:36 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 25 Feb 2012 19:36:02 +0000 (20:36 +0100)
xorg-x11-server/xorg-x11-server.nm

index 7ed9a8b2a282f8caffc6f3f8a12b06c4ecd48943..060b4e2f8b56e7b76d98db025e0d4198ee5dffc7 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = xorg-x11-server
 version    = 1.8.2
-release    = 4
+release    = 5
 
 maintainer = Stefan Schantl <stefan.schantl@ipfire.org>
 groups     = X/Server
@@ -76,8 +76,8 @@ build
                --enable-xselinux \
                --with-int10=x86emu \
                --with-default-font-path="catalogue:/etc/X11/fontpath.d,built-ins" \
-               --with-module-dir=/usr/lib/xorg/modules \
-               --with-builderstring="Build ID: $(PKG_NAME) $(PKG_VER)-$(PKG_REL)" \
+               --with-module-dir=%{libdir}/xorg/modules \
+               --with-builderstring="Build ID: %{name} %{version}-%{release}" \
                --with-os-name="$(hostname -s) $(uname -r)" \
                --with-vendor-name="$(DISTRO_NAME) Project" \
                --with-vendor-web="http://www.ipfire.org" \
@@ -114,11 +114,11 @@ build
        end
 
        make_install_targets += \
-               moduledir=/usr/lib/xorg/modules
+               moduledir=%{libdir}/xorg/modules
 
        install_cmds
-               rm -vf $(BUILDROOT)/usr/lib/xorg/modules/libxf8_16bpp.so
-               rm -vrf $(BUILDROOT)/var/log
+               rm -vf %{BUILDROOT}%{libdir}/xorg/modules/libxf8_16bpp.so
+               rm -vrf %{BUILDROOT}/var/log
 
                mkdir -pv %{BUILDROOT}/etc/X11/xorg.conf.d %{BUILDROOT}/usr/share/xorg
                install -m 0444 hw/xfree86/common/{vesa,extra}modes %{BUILDROOT}/usr/share/xorg/