aboutsummaryrefslogtreecommitdiff
path: root/graphics/ruby-rmagick/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ruby-rmagick/Makefile')
-rw-r--r--graphics/ruby-rmagick/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/graphics/ruby-rmagick/Makefile b/graphics/ruby-rmagick/Makefile
index e9225db69f89..d84a3bbb2416 100644
--- a/graphics/ruby-rmagick/Makefile
+++ b/graphics/ruby-rmagick/Makefile
@@ -24,10 +24,9 @@ USE_RUBY= yes
USE_RUBY_SETUP= yes
RUBY_SETUP= setup.rb
-CONFIGURE_ENV= CFLAGS="${CFLAGS}" \
- CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib" \
- RUBY="${RUBY}"
+CONFIGURE_ENV= RUBY="${RUBY}"
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --doc-dir="${RUBY_MODDOCDIR}" --prefix="${PREFIX}" \
--allow-example-errors
.if defined(NOPORTDOCS)