diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2003-01-23 19:18:58 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2003-01-23 19:18:58 +0000 |
commit | 6db2765dc607d3574a715abf760bceac865d092f (patch) | |
tree | 34c95d7d37317f0614fcac916dd771b2d6014d34 /databases/ruby-gdbm | |
parent | update to razor-agents-0.22 (diff) |
Unbreak packaging for ruby 1.8.
Notes
Notes:
svn path=/head/; revision=73874
Diffstat (limited to 'databases/ruby-gdbm')
-rw-r--r-- | databases/ruby-gdbm/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
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 <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> |