Allow ports using ruby extconf to be built as non root

PR:		ports/191313
This commit is contained in:
Antoine Brodin
2014-08-25 18:49:34 +00:00
parent 682d8eca30
commit bd79265f7a
5 changed files with 2 additions and 7 deletions
+1
View File
@@ -522,6 +522,7 @@ USE_RUBY= yes
RUBY_EXTCONF?= extconf.rb
CONFIGURE_ARGS+= --with-opt-dir="${LOCALBASE}"
CONFIGURE_ENV+= RB_USER_INSTALL=yes
do-configure: ruby-extconf-configure
+1 -2
View File
@@ -20,9 +20,8 @@ WANT_PGSQL= server
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
USE_RUBY_RDOC= yes
NEED_ROOT= yes
POSTGRESQL_PORT?= databases/postgresql${PGSQL_VER}-server
POSTGRESQL_PORT?= databases/postgresql${PGSQL_VER_NODOT}-server
PGSQL_PORTDIR?= ${PORTSDIR}/${POSTGRESQL_PORT}
PGSQL_WRKSRC_CMD= cd ${PGSQL_PORTDIR} && ${MAKE} -V WRKSRC
-2
View File
@@ -56,8 +56,6 @@ SHEBANG_FILES= examples/record.rb \
examples/basic.rb \
examples/lock.rb
NEED_ROOT= yes
.include <bsd.port.pre.mk>
post-patch:
-1
View File
@@ -18,7 +18,6 @@ LIB_DEPENDS= libpafe.so:${PORTSDIR}/devel/libpafe
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
NEED_ROOT= yes
PLIST_FILES= %%RUBY_SITEARCHLIBDIR%%/pasori.so
-2
View File
@@ -17,8 +17,6 @@ COMMENT= Ruby extension library to use Thomas Boutell's gd library
LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \
libgd.so:${PORTSDIR}/graphics/gd
NEED_ROOT= yes
USE_RUBY= yes
USE_RUBY_EXTCONF= yes