summaryrefslogtreecommitdiffstats
path: root/math/libranlib/Makefile
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-07-04 21:18:17 +0000
committersteve <steve@FreeBSD.org>1999-07-04 21:18:17 +0000
commitc49aacd72fe5a56d8492dee554b9c4af778eb8ea (patch)
tree7d4f36d196ef96a34204aec52cd1ddf039121039 /math/libranlib/Makefile
parentaece62b1cb9a3bc77a520dca1875e0e179fe0e74 (diff)
downloadFreeBSD-ports-c49aacd72fe5a56d8492dee554b9c4af778eb8ea.zip
FreeBSD-ports-c49aacd72fe5a56d8492dee554b9c4af778eb8ea.tar.gz
Call ldconfig correctly so this has a fighting chance of working for
both ELF and a.out builds.
Diffstat (limited to 'math/libranlib/Makefile')
-rw-r--r--math/libranlib/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/libranlib/Makefile b/math/libranlib/Makefile
index 427dbe9..9d60f6e 100644
--- a/math/libranlib/Makefile
+++ b/math/libranlib/Makefile
@@ -3,7 +3,7 @@
# Date created: 06 April 1997
# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
#
-# $Id: Makefile,v 1.3 1998/10/26 07:45:01 asami Exp $
+# $Id: Makefile,v 1.4 1998/11/14 09:43:24 asami Exp $
#
DISTNAME= ranlib.c
@@ -28,6 +28,6 @@ post-install:
.if ${PORTOBJFORMAT} == "aout"
${LN} -sf libranlib.so.1.0 ${PREFIX}/lib/libranlib.so
.endif
- @${LDCONFIG} -m ${PREFIX}/lib
+ @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud