summaryrefslogtreecommitdiffstats
path: root/databases/mysql60-server
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2000-09-23 18:57:11 +0000
committerdirk <dirk@FreeBSD.org>2000-09-23 18:57:11 +0000
commit1e946c4f0e75327e0fba74ec1cc64da79fbce6ff (patch)
tree4add1f24c91c2a9d3256d5203801985095c0b571 /databases/mysql60-server
parentd4176853bcc4b6a52722f29f2fc72717afa59ef5 (diff)
downloadFreeBSD-ports-1e946c4f0e75327e0fba74ec1cc64da79fbce6ff.zip
FreeBSD-ports-1e946c4f0e75327e0fba74ec1cc64da79fbce6ff.tar.gz
Set INSTALLS_SHLIB (instead of calling ldconfig).
Diffstat (limited to 'databases/mysql60-server')
-rw-r--r--databases/mysql60-server/Makefile5
-rw-r--r--databases/mysql60-server/pkg-plist.client2
2 files changed, 3 insertions, 4 deletions
diff --git a/databases/mysql60-server/Makefile b/databases/mysql60-server/Makefile
index 9a6c2a5..e6c154e 100644
--- a/databases/mysql60-server/Makefile
+++ b/databases/mysql60-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/mysql60-server/pkg-plist.client b/databases/mysql60-server/pkg-plist.client
index 9eb893b7..c97e263 100644
--- a/databases/mysql60-server/pkg-plist.client
+++ b/databases/mysql60-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
OpenPOWER on IntegriCloud