diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-06-12 05:49:59 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-06-12 05:49:59 +0000 |
commit | 14c85055dd12915e8f11e29f78014823c0a4f88f (patch) | |
tree | 2d0fe4a04367b7e0cfc74713159fb4b6c5e49f0a /databases/ruby-odbc | |
parent | 9192c2297a1240c2b885d461c0f88f5d5e869e98 (diff) | |
download | ports-14c85055dd12915e8f11e29f78014823c0a4f88f.tar.gz ports-14c85055dd12915e8f11e29f78014823c0a4f88f.zip |
Notes
Diffstat (limited to 'databases/ruby-odbc')
-rw-r--r-- | databases/ruby-odbc/Makefile | 12 | ||||
-rw-r--r-- | databases/ruby-odbc/distinfo | 2 |
2 files changed, 6 insertions, 8 deletions
diff --git a/databases/ruby-odbc/Makefile b/databases/ruby-odbc/Makefile index 046b02107c05..0e69d32d76c3 100644 --- a/databases/ruby-odbc/Makefile +++ b/databases/ruby-odbc/Makefile @@ -6,7 +6,7 @@ # PORTNAME= odbc -PORTVERSION= 0.5 +PORTVERSION= 0.6 CATEGORIES= databases ruby MASTER_SITES= http://www.ch-werner.de/rubyodbc/ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} @@ -20,16 +20,14 @@ LIB_DEPENDS= odbc.1:${PORTSDIR}/databases/unixODBC USE_RUBY= yes USE_RUBY_EXTCONF= yes -CONFIGURE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" -CONFIGURE_ARGS= --with-cflags="${PTHREAD_CFLAGS}" +RUBY_WITH_PTHREAD= yes + +CONFIGURE_ARGS= --with-pthread-cflags="${PTHREAD_CFLAGS}" \ + --with-pthread-libs="${PTHREAD_LIBS}" INSTALL_TARGET= site-install DOCS_EN= ChangeLog README doc/odbc.html -post-patch: - ${RUBY} -i -pe '/require \x27mkmf\x27/ and $$_ += "$$libs.sub!(/-lc\\b/, ENV[\x27PTHREAD_LIBS\x27])\n"' \ - ${WRKSRC}/${RUBY_EXTCONF} - post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME} diff --git a/databases/ruby-odbc/distinfo b/databases/ruby-odbc/distinfo index 0917ac1a2a78..1fd4b69cce7e 100644 --- a/databases/ruby-odbc/distinfo +++ b/databases/ruby-odbc/distinfo @@ -1 +1 @@ -MD5 (ruby/ruby-odbc-0.5.tar.gz) = 1933698ddb46897cf09ed0f570f0b907 +MD5 (ruby/ruby-odbc-0.6.tar.gz) = 50d8287f8656f7e976e10f8fdfc9bd31 |