aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Seger <jseger@FreeBSD.org>1998-10-16 03:04:06 +0000
committerJustin M. Seger <jseger@FreeBSD.org>1998-10-16 03:04:06 +0000
commitdfef7840ecb943513ea67f456dc28f470f2ec59e (patch)
treefe5416139c8cbdb8149b65bed8fbadf29d06954d
parent3156527958a69e85c9a200bb5411f6adc0c52edb (diff)
downloadports-dfef7840ecb943513ea67f456dc28f470f2ec59e.tar.gz
ports-dfef7840ecb943513ea67f456dc28f470f2ec59e.zip
Unbreak for ELF.
Submitted by: steve
Notes
Notes: svn path=/head/; revision=14047
-rw-r--r--www/libwww/Makefile6
-rw-r--r--www/libwww/pkg-plist4
2 files changed, 4 insertions, 6 deletions
diff --git a/www/libwww/Makefile b/www/libwww/Makefile
index 752c9cdeb773..8f0ed5bed5e6 100644
--- a/www/libwww/Makefile
+++ b/www/libwww/Makefile
@@ -3,7 +3,7 @@
# Date created: 18 Feb 1996
# Whom: torstenb
#
-# $Id: Makefile,v 1.10 1998/06/14 23:34:59 jseger Exp $
+# $Id: Makefile,v 1.11 1998/10/14 23:46:40 jseger Exp $
#
PKGNAME= libwww-5.1m1
@@ -13,8 +13,6 @@ MASTER_SITES= ftp://ftp.w3.org/pub/libwww/
MAINTAINER= jseger@FreeBSD.org
-BROKEN_ELF= yes
-
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ARGS= --enable-shared --enable-static
@@ -22,7 +20,7 @@ DOCDIR= ${PREFIX}/share/doc/libwww
WRKSRC= ${WRKDIR}/w3c-libwww-5.1m
post-install:
- @${LDCONFIG} -m ${PREFIX}/lib
+ @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCDIR}/User
${CP} -R ${WRKSRC}/Library/User/* ${DOCDIR}/User
diff --git a/www/libwww/pkg-plist b/www/libwww/pkg-plist
index b68a9c879042..9b56872accd3 100644
--- a/www/libwww/pkg-plist
+++ b/www/libwww/pkg-plist
@@ -150,8 +150,8 @@ lib/libwww.a
lib/libwww.la
lib/libwww.so
lib/libwww.so.5.3
-@exec /sbin/ldconfig -m %B
-@unexec /sbin/ldconfig -R
+@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
+@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
share/doc/libwww/User/Applications.html
share/doc/libwww/User/Architecture/A.gif
share/doc/libwww/User/Architecture/Alert.html