From 31a3d2deb9c9caf10807358c113d31bca77e1a4d Mon Sep 17 00:00:00 2001 From: Mario Preksavec Date: Sun, 26 Apr 2015 07:55:08 +0700 Subject: network/wireshark: Force to use Qt4. Signed-off-by: Willy Sudiarto Raharjo --- network/wireshark/wireshark.SlackBuild | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'network/wireshark/wireshark.SlackBuild') diff --git a/network/wireshark/wireshark.SlackBuild b/network/wireshark/wireshark.SlackBuild index 58e1da659a520..8bbee5a50b49c 100644 --- a/network/wireshark/wireshark.SlackBuild +++ b/network/wireshark/wireshark.SlackBuild @@ -25,6 +25,8 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Modified by Mario Preksavec + PRGNAM=wireshark VERSION=${VERSION:-1.12.2} BUILD=${BUILD:-1} @@ -64,15 +66,18 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # Ammend hardcoded paths to /usr/lib/ which will give a problem when compiling on # systems with 32bit compat libs install. Thanks to Heinz Wiesinger. sed -i "s|/lib)|/lib$LIBDIRSUFFIX)|g" configure.ac +# Force use of qt4 libs +sed -i 's/for modprefix in Qt5 Qt/for modprefix in Qt/' acinclude.m4 + # run autoreconf so it'll use the correct automake version. autoreconf -f -i -- cgit v1.2.3