aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ruby-devel
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-08-03 20:36:22 +0800
committerknu <knu@FreeBSD.org>2002-08-03 20:36:22 +0800
commitbc0770482283117eef21c466b223dd833ae29844 (patch)
treea715300c54db54fd22ca1abed42551d077632cdb /lang/ruby-devel
parent592a7bbfa64003161772638152965560a003c81d (diff)
downloadfreebsd-ports-gnome-bc0770482283117eef21c466b223dd833ae29844.tar.gz
freebsd-ports-gnome-bc0770482283117eef21c466b223dd833ae29844.tar.zst
freebsd-ports-gnome-bc0770482283117eef21c466b223dd833ae29844.zip
Add a header file that's installed only when WITH_ONIGURUMA is defined
to pkg-plist. Reported by: nork
Diffstat (limited to 'lang/ruby-devel')
-rw-r--r--lang/ruby-devel/Makefile3
-rw-r--r--lang/ruby-devel/pkg-plist1
2 files changed, 4 insertions, 0 deletions
diff --git a/lang/ruby-devel/Makefile b/lang/ruby-devel/Makefile
index 309b860e1551..eb2b0e000da7 100644
--- a/lang/ruby-devel/Makefile
+++ b/lang/ruby-devel/Makefile
@@ -30,6 +30,9 @@ BUILD_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf
ONIGURUMA_MASTER_SITES= ${MASTER_SITE_RUBY}
ONIGURUMA_MASTER_SITE_SUBDIR= contrib
ONIGURUMA_DISTFILE= onigd20020424.tar.gz
+PLIST_SUB+= ONIGURUMA=""
+.else
+PLIST_SUB+= ONIGURUMA="@comment "
.endif
USE_BZIP2= yes
diff --git a/lang/ruby-devel/pkg-plist b/lang/ruby-devel/pkg-plist
index 11c907fa9fc0..053bca845a95 100644
--- a/lang/ruby-devel/pkg-plist
+++ b/lang/ruby-devel/pkg-plist
@@ -26,6 +26,7 @@ lib/lib%%RUBY_NAME%%.so.%%RUBY_SHLIBVER%%
%%RUBY_ARCHLIBDIR%%/re.h
%%RUBY_ARCHLIBDIR%%/readline.so
%%RUBY_ARCHLIBDIR%%/regex.h
+%%ONIGURUMA%%%%RUBY_ARCHLIBDIR%%/regint.h
%%RUBY_ARCHLIBDIR%%/ruby.h
%%RUBY_ARCHLIBDIR%%/rubyio.h
%%RUBY_ARCHLIBDIR%%/rubysig.h