aboutsummaryrefslogtreecommitdiff
path: root/databases/percona55-server
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>2000-09-23 18:57:11 +0000
committerDirk Froemberg <dirk@FreeBSD.org>2000-09-23 18:57:11 +0000
commit6feb9421dfddbdc7f182184b9cd3b3bdb74c3e59 (patch)
tree1edba1a3b392f4272d40b6f7f3394d31ceb3fcaf /databases/percona55-server
parentd039aa16ead76e40988d8c82bed6dcd8dbcb23d8 (diff)
downloadports-6feb9421dfddbdc7f182184b9cd3b3bdb74c3e59.tar.gz
ports-6feb9421dfddbdc7f182184b9cd3b3bdb74c3e59.zip
Set INSTALLS_SHLIB (instead of calling ldconfig).
Notes
Notes: svn path=/head/; revision=33048
Diffstat (limited to 'databases/percona55-server')
-rw-r--r--databases/percona55-server/Makefile5
-rw-r--r--databases/percona55-server/pkg-plist.client2
2 files changed, 3 insertions, 4 deletions
diff --git a/databases/percona55-server/Makefile b/databases/percona55-server/Makefile
index 9a6c2a590256..e6c154ee589b 100644
--- a/databases/percona55-server/Makefile
+++ b/databases/percona55-server/Makefile
@@ -139,6 +139,9 @@ post-install:
.else
MAN1= mysql.1
+INSTALLS_SHLIB= yes
+LDCONFIG_DIRS= %%PREFIX%%/lib/mysql
+
CONFIGURE_ARGS+=--without-server
MAKE_ENV= CLIENT_ONLY="${CLIENT_ONLY}"
@@ -148,7 +151,5 @@ post-install:
@${ECHO} "${LDCONFIG} -m ${PREFIX}/lib/mysql" >> ${PREFIX}/etc/rc.d/mysql-client.sh
@${CHMOD} 750 ${PREFIX}/etc/rc.d/mysql-client.sh
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib/mysql
-
.include <bsd.port.mk>
.endif
diff --git a/databases/percona55-server/pkg-plist.client b/databases/percona55-server/pkg-plist.client
index 9eb893b7dd12..c97e26386471 100644
--- a/databases/percona55-server/pkg-plist.client
+++ b/databases/percona55-server/pkg-plist.client
@@ -28,5 +28,3 @@ lib/mysql/libmysqlclient.so
lib/mysql/libmysqlclient.so.6
@dirrm include/mysql
@dirrm lib/mysql
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %D/lib/mysql
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R