freebsd-ports/databases/ruby-oci8/Makefile
Antoine Brodin ecf5518183 Mark broken: Fails to configure
===>  Running extconf.rb in ext/oci8 to configure
checking for cc... ok
checking for gcc... yes
checking for LP64... no
checking for ruby header... /wrkdirs/usr/ports/databases/ruby-oci8/work/ruby-oci8-1.0.0-rc1/ext/oci8/oraconf.rb:301: Use RbConfig instead of obsolete and deprecated Config.
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.

Reported by:	pkg-fallout since august 2013
2014-02-12 19:42:24 +00:00

41 lines
992 B
Makefile

# Created by: Simun Mikecin <numisemis at yahoo dot com>
# $FreeBSD$
PORTNAME= oci8
DISTVERSION= 1.0.0rc1
CATEGORIES= databases ruby
MASTER_SITES= RF
MASTER_SITE_SUBDIR=ruby-oci8
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-${PORTNAME}-${DISTVERSION:S/rc/-rc/}
DIST_SUBDIR= ruby
MAINTAINER= numisemis@yahoo.com
COMMENT= Ruby interface to Oracle OCI8
BROKEN= Does not configure
BUILD_DEPENDS= ${LOCALBASE}/oracle8-client/lib/libclntsh.a:${PORTSDIR}/databases/oracle8-client
RUN_DEPENDS= ${LOCALBASE}/oracle8-client/lib/libclntsh.a:${PORTSDIR}/databases/oracle8-client
MAKE_JOBS_UNSAFE= yes
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
RUBY_EXTCONF_SUBDIRS= ext/oci8
CONFIGURE_ARGS= --with-instant-client="${LOCALBASE}/oracle8-client/lib"
INSTALL_TARGET= site-install
DOCS_EN= ChangeLog README
NO_STAGE= yes
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODDOCDIR}
.for f in ${DOCS_EN}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.endif
.include <bsd.port.mk>