Use autoconf 2.53 for lang/ruby_static-devel and unbreak it.
This commit is contained in:
parent
0be35ce445
commit
9477c6e16c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=56916
2 changed files with 36 additions and 4 deletions
|
@ -18,8 +18,6 @@ BUILD_DEPENDS= ${NONEXISTENT}:${.CURDIR}/../../${RUBY_PORT}:patch
|
|||
|
||||
USE_RUBY= yes
|
||||
|
||||
USE_AUTOCONF= yes
|
||||
|
||||
# Beware, because gdbm is under GPL, you must treat the whole binary
|
||||
# as GPL says if you include gdbm in it.
|
||||
EXT_PORTS= archivers/ruby-zlib \
|
||||
|
@ -36,6 +34,19 @@ EXT_PORTS+= devel/ruby-fnmatch
|
|||
BUILD_DEPENDS+= ${NONEXISTENT}:${_PORTSDIR}/${p}:patch
|
||||
.endfor
|
||||
|
||||
.if defined(RUBY_VER)
|
||||
.if ${RUBY_VER} > 1.6
|
||||
NEWAUTOCONF= yes
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if defined(NEWAUTOCONF)
|
||||
BUILD_DEPENDS+= autoconf:${PORTSDIR}/devel/autoconf
|
||||
GNU_CONFIGURE= yes
|
||||
.else
|
||||
USE_AUTOCONF= yes
|
||||
.endif
|
||||
|
||||
WRKSRC= ${RUBY_WRKSRC}
|
||||
|
||||
DESCR= ${_RUBY_PORTDIR}/pkg-descr
|
||||
|
@ -95,6 +106,11 @@ do-extract:
|
|||
(cd ${WRKSRC}/ext && \
|
||||
for x in *; do [ -d $$x ] && echo $$x >> Setup; done)
|
||||
|
||||
.if defined(NEWAUTOCONF)
|
||||
pre-configure:
|
||||
cd ${WRKSRC}; autoconf
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${RUBY_NAME} ${RUBY_WITH_SUFFIX}_s
|
||||
.if ${RUBY_VER} == ${RUBY_DEFAULT_VER}
|
||||
|
|
|
@ -18,8 +18,6 @@ BUILD_DEPENDS= ${NONEXISTENT}:${.CURDIR}/../../${RUBY_PORT}:patch
|
|||
|
||||
USE_RUBY= yes
|
||||
|
||||
USE_AUTOCONF= yes
|
||||
|
||||
# Beware, because gdbm is under GPL, you must treat the whole binary
|
||||
# as GPL says if you include gdbm in it.
|
||||
EXT_PORTS= archivers/ruby-zlib \
|
||||
|
@ -36,6 +34,19 @@ EXT_PORTS+= devel/ruby-fnmatch
|
|||
BUILD_DEPENDS+= ${NONEXISTENT}:${_PORTSDIR}/${p}:patch
|
||||
.endfor
|
||||
|
||||
.if defined(RUBY_VER)
|
||||
.if ${RUBY_VER} > 1.6
|
||||
NEWAUTOCONF= yes
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if defined(NEWAUTOCONF)
|
||||
BUILD_DEPENDS+= autoconf:${PORTSDIR}/devel/autoconf
|
||||
GNU_CONFIGURE= yes
|
||||
.else
|
||||
USE_AUTOCONF= yes
|
||||
.endif
|
||||
|
||||
WRKSRC= ${RUBY_WRKSRC}
|
||||
|
||||
DESCR= ${_RUBY_PORTDIR}/pkg-descr
|
||||
|
@ -95,6 +106,11 @@ do-extract:
|
|||
(cd ${WRKSRC}/ext && \
|
||||
for x in *; do [ -d $$x ] && echo $$x >> Setup; done)
|
||||
|
||||
.if defined(NEWAUTOCONF)
|
||||
pre-configure:
|
||||
cd ${WRKSRC}; autoconf
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${RUBY_NAME} ${RUBY_WITH_SUFFIX}_s
|
||||
.if ${RUBY_VER} == ${RUBY_DEFAULT_VER}
|
||||
|
|
Loading…
Reference in a new issue