aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysql54-server
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2000-09-24 02:57:11 +0800
committerdirk <dirk@FreeBSD.org>2000-09-24 02:57:11 +0800
commit1e946c4f0e75327e0fba74ec1cc64da79fbce6ff (patch)
tree4add1f24c91c2a9d3256d5203801985095c0b571 /databases/mysql54-server
parentd4176853bcc4b6a52722f29f2fc72717afa59ef5 (diff)
downloadfreebsd-ports-gnome-1e946c4f0e75327e0fba74ec1cc64da79fbce6ff.tar.gz
freebsd-ports-gnome-1e946c4f0e75327e0fba74ec1cc64da79fbce6ff.tar.zst
freebsd-ports-gnome-1e946c4f0e75327e0fba74ec1cc64da79fbce6ff.zip
Set INSTALLS_SHLIB (instead of calling ldconfig).
Diffstat (limited to 'databases/mysql54-server')
-rw-r--r--databases/mysql54-server/Makefile5
-rw-r--r--databases/mysql54-server/pkg-plist.client2
2 files changed, 3 insertions, 4 deletions
diff --git a/databases/mysql54-server/Makefile b/databases/mysql54-server/Makefile
index 9a6c2a590256..e6c154ee589b 100644
--- a/databases/mysql54-server/Makefile
+++ b/databases/mysql54-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/mysql54-server/pkg-plist.client b/databases/mysql54-server/pkg-plist.client
index 9eb893b7dd12..c97e26386471 100644
--- a/databases/mysql54-server/pkg-plist.client
+++ b/databases/mysql54-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