summaryrefslogtreecommitdiff
path: root/databases/p5-DBD-Oracle/Makefile
diff options
context:
space:
mode:
authorgrant <grant>2007-03-04 01:17:51 +0000
committergrant <grant>2007-03-04 01:17:51 +0000
commit937dcd5737ccedfa3dd1cf31b640c67376a5012a (patch)
tree936f72c01de5d69dd22d07a34a35d86d1e485ea3 /databases/p5-DBD-Oracle/Makefile
parent7fdb56c901a48e97d9256de90d27b2a827593dc8 (diff)
downloadpkgsrc-937dcd5737ccedfa3dd1cf31b640c67376a5012a.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/p5-DBD-Oracle/Makefile')
-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"