From 6db2765dc607d3574a715abf760bceac865d092f Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Thu, 23 Jan 2003 19:18:58 +0000 Subject: Unbreak packaging for ruby 1.8. --- databases/ruby-gdbm/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'databases') diff --git a/databases/ruby-gdbm/Makefile b/databases/ruby-gdbm/Makefile index c471794902dd..75e01810dcf2 100644 --- a/databases/ruby-gdbm/Makefile +++ b/databases/ruby-gdbm/Makefile @@ -22,6 +22,12 @@ USE_RUBY_EXTCONF= yes WRKSRC= ${WRKDIR}/${PORTNAME} +.include + +.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 +.include -- cgit v1.2.3