aboutsummaryrefslogtreecommitdiff
path: root/graphics/ruby-gd
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>2000-10-04 04:44:45 +0000
committerSatoshi Asami <asami@FreeBSD.org>2000-10-04 04:44:45 +0000
commit6d91bcbc88e0d2b11d152f727240f2578c595d4f (patch)
tree8acb7c7554bf99ce17688aeeb9f483d5a1cc1088 /graphics/ruby-gd
parent61722d8b0a14c5ccfdedcb4816b37ed374a97b7b (diff)
downloadports-6d91bcbc88e0d2b11d152f727240f2578c595d4f.tar.gz
ports-6d91bcbc88e0d2b11d152f727240f2578c595d4f.zip
Notes
Diffstat (limited to 'graphics/ruby-gd')
-rw-r--r--graphics/ruby-gd/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/ruby-gd/Makefile b/graphics/ruby-gd/Makefile
index 2519d08b3593..8a8789f1f55f 100644
--- a/graphics/ruby-gd/Makefile
+++ b/graphics/ruby-gd/Makefile
@@ -29,7 +29,11 @@ INSTALL_TARGET= site-install
.include <bsd.port.pre.mk>
# Hmm, GREP and TRUE seem to be defined in the bsd.port.post.mk stage.
+.if exists(${LOCALBASE}/bin/gd2topng)
WITH_X11_CHECK!= ldd ${LOCALBASE}/bin/gd2topng | grep -w 'libX11\.so' || true
+.else
+WITH_X11_CHECK= #empty
+.endif
.if !empty(WITH_X11_CHECK)
USE_XLIB= yes