pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/p5-DBD-Oracle make this actually work (on So...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/95e322c577c3
branches:  trunk
changeset: 526208:95e322c577c3
user:      grant <grant%pkgsrc.org@localhost>
date:      Sun Mar 04 01:17:51 2007 +0000

description:
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:

 databases/p5-DBD-Oracle/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 6f3fc236a08b -r 95e322c577c3 databases/p5-DBD-Oracle/Makefile
--- a/databases/p5-DBD-Oracle/Makefile  Sun Mar 04 01:05:04 2007 +0000
+++ b/databases/p5-DBD-Oracle/Makefile  Sun Mar 04 01:17:51 2007 +0000
@@ -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 @@
 
 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"



Home | Main Index | Thread Index | Old Index