summaryrefslogtreecommitdiffstats
path: root/databases/ruby-gdbm
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-01-23 19:18:58 +0000
committerknu <knu@FreeBSD.org>2003-01-23 19:18:58 +0000
commit7bf3c1ec4c37d1ffe29402f5d6d442aabbccd024 (patch)
tree6b88e6001b0b39b0a5a9891213b4e7dffc7cb203 /databases/ruby-gdbm
parent2c6a7e1c2e19c097e3c4d879c5cdaa49be22539b (diff)
downloadFreeBSD-ports-7bf3c1ec4c37d1ffe29402f5d6d442aabbccd024.zip
FreeBSD-ports-7bf3c1ec4c37d1ffe29402f5d6d442aabbccd024.tar.gz
Unbreak packaging for ruby 1.8.
Diffstat (limited to 'databases/ruby-gdbm')
-rw-r--r--databases/ruby-gdbm/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/databases/ruby-gdbm/Makefile b/databases/ruby-gdbm/Makefile
index c471794..75e0181 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>
OpenPOWER on IntegriCloud