aboutsummaryrefslogtreecommitdiffstats
path: root/databases/oracle7-client
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2003-10-02 00:23:33 +0800
committerskv <skv@FreeBSD.org>2003-10-02 00:23:33 +0800
commita2683ce1141ae4987c540098ba8b89f815130796 (patch)
treeb1fd0e1851e07dbf21b08ca5e0e244ea3c32059a /databases/oracle7-client
parentf0018633eed93dd2ac68c836eea18a43e685ec84 (diff)
downloadfreebsd-ports-gnome-a2683ce1141ae4987c540098ba8b89f815130796.tar.gz
freebsd-ports-gnome-a2683ce1141ae4987c540098ba8b89f815130796.tar.zst
freebsd-ports-gnome-a2683ce1141ae4987c540098ba8b89f815130796.zip
Fix pkg-plist.
PR: ports/57393 Submitted by: dinoex
Diffstat (limited to 'databases/oracle7-client')
-rw-r--r--databases/oracle7-client/Makefile4
-rw-r--r--databases/oracle7-client/pkg-plist4
2 files changed, 6 insertions, 2 deletions
diff --git a/databases/oracle7-client/Makefile b/databases/oracle7-client/Makefile
index a49094651973..ecfabe5b0bcf 100644
--- a/databases/oracle7-client/Makefile
+++ b/databases/oracle7-client/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= oracle7-client
-PORTVERSION= 0.01
+PORTVERSION= 0.02
CATEGORIES= databases
MASTER_SITES= ftp://www.kuzbass.ru/pub/freebsd/oracle/ \
ftp://ftp.atnet.ru/pub/OS/FreeBSD/oracle/ \
@@ -17,6 +17,7 @@ DISTNAME= oracle7.client.OCI
MAINTAINER= skv@FreeBSD.org
COMMENT= Oracle 7 client
+ONLY_FOR_ARCHS= i386
ORACLE_PREFIX= oracle7
DIST_SUBDIR= ${ORACLE_PREFIX}
WRKSRC= ${WRKDIR}/${ORACLE_PREFIX}
@@ -32,6 +33,7 @@ do-install:
@${CP} -pRP ${WRKSRC}/network ${WRKSRC}/ocommon ${WRKSRC}/rdbms \
${ORACLE_HOME}
@${LN} -sf rdbms/lib ${ORACLE_HOME}/lib
+ @${ECHO_CMD} "-lwrap" >> ${ORACLE_HOME}/lib/sysliblist
post-install:
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
diff --git a/databases/oracle7-client/pkg-plist b/databases/oracle7-client/pkg-plist
index f2e8db353ed9..97dd554af7b9 100644
--- a/databases/oracle7-client/pkg-plist
+++ b/databases/oracle7-client/pkg-plist
@@ -1,4 +1,3 @@
-%%ORACLE_PREFIX%%/lib
%%ORACLE_PREFIX%%/network/admin/tnsnames.ora
%%ORACLE_PREFIX%%/ocommon/nls/mesg/lxbus.msb
%%ORACLE_PREFIX%%/ocommon/nls/mesg/lxeus.msb
@@ -1697,6 +1696,7 @@
%%ORACLE_PREFIX%%/rdbms/lib/ins_rdbms.mk
%%ORACLE_PREFIX%%/rdbms/lib/libwrap.a
%%ORACLE_PREFIX%%/rdbms/lib/libc3v6.a
+%%ORACLE_PREFIX%%/rdbms/lib/sysliblist
%%ORACLE_PREFIX%%/rdbms/install/xa/partial.prd
%%ORACLE_PREFIX%%/rdbms/install/xa/xa.map
%%ORACLE_PREFIX%%/rdbms/install/xa/xa.vrf
@@ -1769,6 +1769,8 @@
%%ORACLE_PREFIX%%/rdbms/lib.old/libmdhh.a
%%ORACLE_PREFIX%%/rdbms/lib.old/config.o
%%ORACLE_PREFIX%%/rdbms/lib.old/sysliblist
+@exec ln -s rdbms/lib %D/%%ORACLE_PREFIX%%/lib
+@unexec rm -f %D/%%ORACLE_PREFIX%%/lib
@dirrm %%ORACLE_PREFIX%%/network/admin
@dirrm %%ORACLE_PREFIX%%/network
@dirrm %%ORACLE_PREFIX%%/ocommon/install