summaryrefslogtreecommitdiffstats
path: root/httpup/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'httpup/Pkgfile')
-rw-r--r--httpup/Pkgfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/httpup/Pkgfile b/httpup/Pkgfile
index 6656741..f9feeab 100644
--- a/httpup/Pkgfile
+++ b/httpup/Pkgfile
@@ -12,7 +12,7 @@ build ()
{
cd $name-$version;
sed -i -e "s|-Werror|$CFLAGS|" Makefile;
- make;
+ make ${CHOST:+CXX=$CHOST-g++};
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;