From 67df1ff63664c4250e7cad51ed658e70c4a21e83 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Sun, 21 Mar 2010 14:20:16 -0500 Subject: network/znc: Misc buildscript fixes. --- network/znc/znc.SlackBuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'network/znc/znc.SlackBuild') diff --git a/network/znc/znc.SlackBuild b/network/znc/znc.SlackBuild index 3b5388be8f..8b92e73a64 100644 --- a/network/znc/znc.SlackBuild +++ b/network/znc/znc.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Slackware build script for ZNC @@ -59,6 +59,8 @@ if ! grep -q "^$ZNC_USER:" /etc/passwd; then exit 1 fi +set -e + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP @@ -90,6 +92,7 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ @@ -131,4 +134,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} -- cgit v1.2.3