summaryrefslogtreecommitdiff
path: root/net-p2p/libtorrent-rasterbar-14/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/libtorrent-rasterbar-14/Makefile')
-rw-r--r--net-p2p/libtorrent-rasterbar-14/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/net-p2p/libtorrent-rasterbar-14/Makefile b/net-p2p/libtorrent-rasterbar-14/Makefile
index eac58c9f99bf..7fb79a8aa9f0 100644
--- a/net-p2p/libtorrent-rasterbar-14/Makefile
+++ b/net-p2p/libtorrent-rasterbar-14/Makefile
@@ -26,7 +26,6 @@ USE_GNOME= gnomehack
USE_OPENSSL= yes
USE_AUTOTOOLS= aclocal automake autoconf libtool
ACLOCAL_ARGS= -I m4
-CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --disable-debug \
--disable-python-binding \
--disable-examples \
@@ -43,8 +42,8 @@ CONFIGURE_ARGS= --disable-debug \
--with-zlib=system
USE_LDCONFIG= yes
-CPPFLAGS= ${PTHREAD_CFLAGS}
-LDFLAGS= ${PTHREAD_LIBS}
+CPPFLAGS+= ${PTHREAD_CFLAGS}
+LDFLAGS+= ${PTHREAD_LIBS}
.if !defined(NOPORTDOCS)
PORTDOCS= *