Drop obsolete --enable-gtk2 CFLAG
authorjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 8 Jul 2009 05:24:55 +0000 (05:24 +0000)
committerjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 8 Jul 2009 05:24:55 +0000 (05:24 +0000)
Make fakeroot actually work by setting proper LD_LIBRARY_PATH

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29009 f5534014-38df-0310-8fa8-9805f1628bb7

debian/rules

index 23881b21e4ee8d4cad80f559d164f8ed3aecac67..0d9eb14b481007e35b9f3da3c02214e4d7cc65d1 100755 (executable)
@@ -22,7 +22,7 @@ ifeq (alpha-linux,$(DEB_HOST_GNU_TYPE))
   CFLAGS += -mieee
 endif
 
-CONFIGURE_FLAGS=--prefix=/usr --sysconfdir=/usr/share --datadir=/usr/share --libdir=/usr/lib/wireshark --disable-static --enable-gtk2 --enable-warnings-as-errors=no --enable-setuid-install --with-plugins=/usr/lib/wireshark/plugins --with-lua=/usr/
+CONFIGURE_FLAGS=--prefix=/usr --sysconfdir=/usr/share --datadir=/usr/share --libdir=/usr/lib/wireshark --disable-static --enable-warnings-as-errors=no --enable-setuid-install --with-plugins=/usr/lib/wireshark/plugins --with-lua=/usr/
 
 configure: configure-stamp
 configure-stamp: patch
@@ -116,7 +116,7 @@ binary-arch: install check
        dh_fixperms -Xdumpcap
 
        dh_installdeb
-       LD_LIBRARY_PATH=/usr/lib/wireshark/ dh_shlibdeps
+       LD_LIBRARY_PATH=/usr/lib/wireshark/:/usr/lib/libfakeroot/ dh_shlibdeps
        dh_gencontrol
        dh_md5sums
        dh_builddeb