From 43e59b07f88e046182e8c731c434f56f03dea416 Mon Sep 17 00:00:00 2001 From: hackbard Date: Sun, 25 Jul 2004 03:21:46 +0000 Subject: [PATCH 1/1] fixed unrealircd package --- doc/CHANGELOG | 1 + packages/optional/unrealircd/unrealircd | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/CHANGELOG b/doc/CHANGELOG index f67c2d9..43028d6 100644 --- a/doc/CHANGELOG +++ b/doc/CHANGELOG @@ -1,5 +1,6 @@ *) 2004-07-25 +- fixed unrealircd package - do not build linux mandocs - removed unneeded libmustux patch - fixed jack compilation diff --git a/packages/optional/unrealircd/unrealircd b/packages/optional/unrealircd/unrealircd index 7a4b3e0..105f766 100644 --- a/packages/optional/unrealircd/unrealircd +++ b/packages/optional/unrealircd/unrealircd @@ -6,9 +6,11 @@ # [S] 3-11 # [D] Unreal3.2.1.tar.gz http://codercrew.org/unrealircd/ +xver=`echo $ver | awk -F. '{ print $1 "." $2 }'` # we always install ircd to /opt ! prefix="$root/opt/unrealircd" -srcdir="Unreal${ver}" +srcdir="Unreal${xver}" + confopt="--prefix=$prefix --sysconfdir=$root/etc/opt/unrealircd" confopt="$confopt --localstatedir=$root/var/opt/unrealircd" confopt="$confopt --oldincludedir=$prefix/include" @@ -18,3 +20,7 @@ confopt="$confopt --enable-dynamic-linking" confopt="$confopt --with-dpath=$root/etc/opt/unrealircd" confopt="$confopt --with-spath=$prefix/bin" # more settings optional, see ./configure --help + +pre_install() { + mkdir -p $prefix/bin + } -- 2.39.2