summaryrefslogtreecommitdiffstats
path: root/httpup
diff options
context:
space:
mode:
Diffstat (limited to 'httpup')
-rw-r--r--httpup/Pkgfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/httpup/Pkgfile b/httpup/Pkgfile
index 6973b57..3133e1e 100644
--- a/httpup/Pkgfile
+++ b/httpup/Pkgfile
@@ -11,7 +11,8 @@ source=(http://jw.tks6.net/files/crux/$name-$version.tar.gz httpup)
build ()
{
cd $name-$version;
- pkgmake;
+ sed -i -e "s|-Werror|$CFLAGS|" Makefile;
+ pkgmake prefix=$prefix;
mkdir -p $PKG/usr/{bin,share/man/man8};
cp httpup httpup-repgen $PKG/usr/bin;
install -D -m 755 $SRC/httpup $PKG/etc/ports/drivers/httpup;