aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libdlmalloc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libdlmalloc')
-rw-r--r--devel/libdlmalloc/Makefile6
-rw-r--r--devel/libdlmalloc/pkg-plist5
2 files changed, 5 insertions, 6 deletions
diff --git a/devel/libdlmalloc/Makefile b/devel/libdlmalloc/Makefile
index a41955882b8..45435fc83bd 100644
--- a/devel/libdlmalloc/Makefile
+++ b/devel/libdlmalloc/Makefile
@@ -3,7 +3,7 @@
# Date created: 3 June 1995
# Whom: roberto
#
-# $Id: Makefile,v 1.7 1998/06/27 05:18:48 asami Exp $
+# $Id: Makefile,v 1.8 1998/10/12 18:36:24 jseger Exp $
#
DISTNAME= dlmalloc
@@ -14,8 +14,6 @@ DISTFILES= malloc-2.6.4.c
MAINTAINER= roberto@FreeBSD.ORG
-BROKEN_ELF= yes
-
NO_WRKSUBDIR= yes
do-extract:
@@ -25,6 +23,6 @@ do-extract:
${CP} -p ${FILESDIR}/Makefile ${WRKDIR}
post-install:
- ${LDCONFIG} -m ${PREFIX}/lib
+ ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>
diff --git a/devel/libdlmalloc/pkg-plist b/devel/libdlmalloc/pkg-plist
index fb0aa968fd2..fc72914c63f 100644
--- a/devel/libdlmalloc/pkg-plist
+++ b/devel/libdlmalloc/pkg-plist
@@ -1,5 +1,6 @@
lib/libdlmalloc.a
@exec ranlib %D/%F
+lib/libdlmalloc.so
lib/libdlmalloc.so.2.6
-@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