summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-nntp')
-rw-r--r--net-nntp/tin/tin-2.6.2-r1.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/net-nntp/tin/tin-2.6.2-r1.ebuild b/net-nntp/tin/tin-2.6.2-r1.ebuild
index c550f29e48bd..631a6ec8091d 100644
--- a/net-nntp/tin/tin-2.6.2-r1.ebuild
+++ b/net-nntp/tin/tin-2.6.2-r1.ebuild
@@ -52,6 +52,11 @@ src_configure() {
tc-export AR CC RANLIB
tc-export_build_env
+ # The build incorrectly discards its local -I if $CPPFLAGS is set.
+ if [[ -n ${BUILD_CPPFLAGS} ]]; then
+ BUILD_CPPFLAGS+=' -I$(INCDIR)'
+ fi
+
local myeconfargs=(
$(use_enable cancel-locks)
$(use_with cancel-locks canlock)