summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>2000-06-18 09:26:54 +0000
committerSatoshi Asami <asami@FreeBSD.org>2000-06-18 09:26:54 +0000
commitdbb2b8a5bb93332148f0e8741945da7857360702 (patch)
tree22fc2da6c94ee3f23ec86f9982705d256fac9424 /www
parentmove distfile from freefall to ftp.freebsd.org (diff)
Back out LDCONFIG_DIRS change -- they don't work with a.out libs.
Reported by: bento
Notes
Notes: svn path=/head/; revision=29671
Diffstat (limited to 'www')
-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