summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2007-03-04 01:17:51 +0000
committergrant <grant@pkgsrc.org>2007-03-04 01:17:51 +0000
commita156ec5cb49ecbf3530f91c89ee7e646bc5b8b17 (patch)
tree936f72c01de5d69dd22d07a34a35d86d1e485ea3 /databases
parent3d2443abf8bf5962978e1b30c1673c21aff4f770 (diff)
downloadpkgsrc-a156ec5cb49ecbf3530f91c89ee7e646bc5b8b17.tar.gz
make this actually work (on Solaris, at least) by forcing -lclntsh.
something weird is going on in the pkgsrc perl build process which is trashing required arguments...
Diffstat (limited to 'databases')
-rw-r--r--databases/p5-DBD-Oracle/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/databases/p5-DBD-Oracle/Makefile b/databases/p5-DBD-Oracle/Makefile
index dc96b6e936e..a69dc2b5296 100644
--- a/databases/p5-DBD-Oracle/Makefile
+++ b/databases/p5-DBD-Oracle/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2007/03/04 01:04:11 grant Exp $
+# $NetBSD: Makefile,v 1.10 2007/03/04 01:17:51 grant Exp $
DISTNAME= DBD-Oracle-1.19
PKGNAME= p5-${DISTNAME}
@@ -20,6 +20,10 @@ PKG_FAIL_REASON+= "The location of ORACLE_HOME does not exist"
BUILDLINK_PASSTHRU_DIRS+= ${ORACLE_HOME}
+LDFLAGS+= -L${ORACLE_HOME}/lib
+LDFLAGS+= ${COMPILER_RPATH_FLAG}${ORACLE_HOME}/lib
+LDFLAGS+= -lclntsh
+
.include "../../databases/p5-DBI/buildlink3.mk"
.include "../../lang/perl5/module.mk"