mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Add RUBY_NO_BUILD_DEPENDS and RUBY_NO_RUN_DEPENDS knobs.
Prevent this file from being included twice.
This commit is contained in:
parent
eb69c42126
commit
f6b2a9ebe4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=32689
@ -6,6 +6,8 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
.if !defined(Ruby_Include)
|
||||
|
||||
Ruby_Include= bsd.ruby.mk
|
||||
Ruby_Include_MAINTAINER= knu@FreeBSD.org
|
||||
|
||||
@ -14,8 +16,10 @@ Ruby_Include_MAINTAINER= knu@FreeBSD.org
|
||||
#
|
||||
# RUBY_VER - Set to the alternative short version of ruby (see below for current value).
|
||||
# USE_RUBY - Says that the port uses ruby for building and running.
|
||||
# RUBY_NO_BUILD_DEPENDS - Says that the port should not build-depend on ruby.
|
||||
# RUBY_NO_RUN_DEPENDS - Says that the port should not run-depend on ruby.
|
||||
# USE_LIBRUBY - Says that the port uses libruby.
|
||||
# USE_RUBY_EXTCONF - Says that the port uses extconf.rb to configure.
|
||||
# USE_RUBY_EXTCONF - Says that the port uses extconf.rb to configure. Implies USE_RUBY.
|
||||
# RUBY_EXTCONF - Set to the alternative name of extconf.rb (default: extconf.rb).
|
||||
# RUBY_EXTCONF_SUBDIRS - Set to list of subdirectories, if multiple modules are included.
|
||||
# USE_RUBY_SETUP - Says that the port uses setup.rb to configure and build. Implies USE_RUBY_AMSTD.
|
||||
@ -166,9 +170,13 @@ LIB_DEPENDS+= ${RUBY_LIB_DEPENDS}
|
||||
.endif
|
||||
|
||||
.if defined(USE_RUBY)
|
||||
.if !defined(RUBY_NO_BUILD_DEPENDS)
|
||||
BUILD_DEPENDS+= ${RUBY_DEPENDS}
|
||||
.endif
|
||||
.if !defined(RUBY_NO_RUN_DEPENDS)
|
||||
RUN_DEPENDS+= ${RUBY_DEPENDS}
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if defined(USE_RUBY_AMSTD)
|
||||
BUILD_DEPENDS+= ${RUBY_AMSTD_DEPENDS}
|
||||
@ -178,3 +186,5 @@ RUN_DEPENDS+= ${RUBY_AMSTD_DEPENDS}
|
||||
.if defined(USE_RUBY_RD) && !defined(NOPORTDOCS)
|
||||
BUILD_DEPENDS+= ${RUBY_RD2_DEPENDS}
|
||||
.endif
|
||||
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user