diff options
author | Eugene Grosbein <eugen@FreeBSD.org> | 2018-11-04 06:07:45 +0000 |
---|---|---|
committer | Eugene Grosbein <eugen@FreeBSD.org> | 2018-11-04 06:07:45 +0000 |
commit | b5d80b1b59909fc1565836d9361f39f50092cfe2 (patch) | |
tree | c258fec4bcdf7b83e782596c3d733398c283f4ef | |
parent | 9166ef6dc0c754dff974eda7fe21623fcc7db0e5 (diff) |
Notes
-rw-r--r-- | databases/p5-DBD-Oracle/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/databases/p5-DBD-Oracle/Makefile b/databases/p5-DBD-Oracle/Makefile index e2f0a01b1119..b930dc2c92dd 100644 --- a/databases/p5-DBD-Oracle/Makefile +++ b/databases/p5-DBD-Oracle/Makefile @@ -19,6 +19,7 @@ OPTIONS_DEFINE= EXAMPLES USES= perl5 shebangfix USE_PERL5= configure patch CONFIGURE_ENV= ORACLE_HOME="${ORACLE_HOME}" +LDFLAGS_i386= -Wl,-znotext SHEBANG_FILES= Oracle.ex/* @@ -28,6 +29,11 @@ ORACLE_HOME= ${LOCALBASE}/oracle8-client BUILD_DEPENDS+= ${ORACLE_HOME}/lib/libclntst8.a:databases/oracle8-client CONFIGURE_ARGS= -V 8.1.7 +.if ${ARCH} == "i386" +CONFIGURE_ARGS+= LDDLFLAGS="`${PERL} -MConfig -e 'print $$Config{lddlflags}'` \ + ${LDFLAGS_i386}" +.endif + post-patch: @${MV} ${WRKSRC}/Oracle.ex/README ${WRKSRC}/Oracle.ex/Readme @${REINPLACE_CMD} -E -e 's!([, ][&!]?)na\)!\1PL_na)!g' \ |