diff options
author | knu <knu@FreeBSD.org> | 2001-06-12 13:49:59 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-06-12 13:49:59 +0800 |
commit | 1193ee82978d09ad615549aa626787857c955566 (patch) | |
tree | f7cf182215ad97a4cb6447242fce855837953050 /databases | |
parent | 5c24069d9c504baea7b56a02f3f929c58ec596b2 (diff) | |
download | freebsd-ports-gnome-1193ee82978d09ad615549aa626787857c955566.tar.gz freebsd-ports-gnome-1193ee82978d09ad615549aa626787857c955566.tar.zst freebsd-ports-gnome-1193ee82978d09ad615549aa626787857c955566.zip |
Update to 0.6.
Define RUBY_WITH_PTHREAD and clean up.
Diffstat (limited to 'databases')
-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 |