summaryrefslogtreecommitdiff
path: root/math
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
parentSort PLIST. (diff)
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')
-rw-r--r--math/librandlib/Makefile4
-rw-r--r--math/libranlib/Makefile4
-rw-r--r--math/randlib/Makefile4
3 files changed, 6 insertions, 6 deletions
diff --git a/math/librandlib/Makefile b/math/librandlib/Makefile
index 427dbe91cabf..9d60f6e96c7e 100644
--- a/math/librandlib/Makefile
+++ b/math/librandlib/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>
diff --git a/math/libranlib/Makefile b/math/libranlib/Makefile
index 427dbe91cabf..9d60f6e96c7e 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>
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>