aboutsummaryrefslogtreecommitdiff
path: root/math/randlib
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-07-04 21:18:17 +0000
committerSteve Price <steve@FreeBSD.org>1999-07-04 21:18:17 +0000
commit348fa0f04653e8896f9cb081c125536e6c4904e8 (patch)
treee4910badc5564d6a4482596c1959f03b607030c5 /math/randlib
parent82145635081b0644e0c1e80ddec5c23f20c3e6e0 (diff)
downloadports-348fa0f04653e8896f9cb081c125536e6c4904e8.tar.gz
ports-348fa0f04653e8896f9cb081c125536e6c4904e8.zip
Call ldconfig correctly so this has a fighting chance of working for
both ELF and a.out builds.
Notes
Notes: svn path=/head/; revision=20028
Diffstat (limited to 'math/randlib')
-rw-r--r--math/randlib/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/randlib/Makefile b/math/randlib/Makefile
index 427dbe91cabf..9d60f6e96c7e 100644
--- a/math/randlib/Makefile
+++ b/math/randlib/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>