aboutsummaryrefslogtreecommitdiffstats
path: root/www/libxpg4-ns
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>2000-06-18 17:26:54 +0800
committerasami <asami@FreeBSD.org>2000-06-18 17:26:54 +0800
commit494c1f87552cab32e289a330f619b1e04c9dbf86 (patch)
tree76f8008f0a064d2c8c049dd5228393af0d31a070 /www/libxpg4-ns
parent89218e6d3e3dd0e9675242baed1d85917655c47d (diff)
downloadfreebsd-ports-gnome-494c1f87552cab32e289a330f619b1e04c9dbf86.tar.gz
freebsd-ports-gnome-494c1f87552cab32e289a330f619b1e04c9dbf86.tar.zst
freebsd-ports-gnome-494c1f87552cab32e289a330f619b1e04c9dbf86.zip
Back out LDCONFIG_DIRS change -- they don't work with a.out libs.
Reported by: bento
Diffstat (limited to 'www/libxpg4-ns')
-rw-r--r--www/libxpg4-ns/Makefile5
-rw-r--r--www/libxpg4-ns/pkg-plist2
2 files changed, 5 insertions, 2 deletions
diff --git a/www/libxpg4-ns/Makefile b/www/libxpg4-ns/Makefile
index 3f69dc6af0b4..b85dc8582193 100644
--- a/www/libxpg4-ns/Makefile
+++ b/www/libxpg4-ns/Makefile
@@ -14,8 +14,6 @@ DISTNAME= libxpg4-3.3
MAINTAINER= sada@FreeBSD.ORG
-INSTALLS_SHLIB= yes
-
MAKE_ENV+= OBJFORMAT=aout SHLIB_MAJOR=2 SHLIB_MINOR=0
PORTOBJFORMAT= aout
@@ -31,6 +29,9 @@ pre-build:
pre-install:
${MKDIR} ${LIBDIR}
+post-install:
+ ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${LIBDIR}
+
extract-from-freebsd: # only for port maintainer.
.if exists(/usr/src/lib)
@${RM} -rf ${WRKSRC}
diff --git a/www/libxpg4-ns/pkg-plist b/www/libxpg4-ns/pkg-plist
index ea4d53a09276..343f355e7829 100644
--- a/www/libxpg4-ns/pkg-plist
+++ b/www/libxpg4-ns/pkg-plist
@@ -1,3 +1,5 @@
lib/aout/libxpg4-ns.a
lib/aout/libxpg4-ns.so.2.0
lib/aout/libxpg4-ns_p.a
+@exec env OBJFORMAT=aout ldconfig -m %B
+@unexec env OBJFORMAT=aout ldconfig -R %B