aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ruby
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
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')
-rw-r--r--lang/ruby/Makefile3
-rw-r--r--lang/ruby/pkg-plist1
2 files changed, 4 insertions, 0 deletions
diff --git a/lang/ruby/Makefile b/lang/ruby/Makefile
index 985147f35e3e..984133f13c9a 100644
--- a/lang/ruby/Makefile
+++ b/lang/ruby/Makefile
@@ -28,6 +28,9 @@ MAINTAINER= knu@FreeBSD.org
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/pkg-plist b/lang/ruby/pkg-plist
index 7c103ea3b2bb..d2559ed5c3d4 100644
--- a/lang/ruby/pkg-plist
+++ b/lang/ruby/pkg-plist
@@ -22,6 +22,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