Unbreak packaging for ruby 1.8.
This commit is contained in:
parent
dee2e3c3df
commit
6db2765dc6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=73874
@ -22,6 +22,12 @@ USE_RUBY_EXTCONF= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${RUBY_VER} >= 1.7
|
||||
MAKE_ARGS= sitelibdir='$$(rubylibdir)'
|
||||
.endif
|
||||
|
||||
do-extract:
|
||||
${MKDIR} ${WRKDIR}
|
||||
${LN} -sf `cd ${PORTSDIR}/${RUBY_PORT}; ${MAKE} -V WRKDIR`/${PORTNAME} ${WRKDIR}/
|
||||
@ -29,4 +35,4 @@ do-extract:
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -51,6 +51,10 @@ TK_DIR= `echo "${TK_LIB}" | ${SED} 's/\([0-9]\)\([0-9]\)/\1.\2/'`
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${RUBY_VER} >= 1.7
|
||||
MAKE_ARGS= sitelibdir='$$(rubylibdir)'
|
||||
.endif
|
||||
|
||||
.if defined(PKGNAMEPREFIX)
|
||||
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
|
||||
.else
|
||||
|
@ -30,6 +30,10 @@ TCLTKLIB_CATEGORY?= lang
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${RUBY_VER} >= 1.7
|
||||
MAKE_ARGS= sitelibdir='$$(rubylibdir)'
|
||||
.endif
|
||||
|
||||
.if defined(PKGNAMEPREFIX)
|
||||
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
|
||||
.else
|
||||
|
Loading…
Reference in New Issue
Block a user