From 348fa0f04653e8896f9cb081c125536e6c4904e8 Mon Sep 17 00:00:00 2001 From: Steve Price Date: Sun, 4 Jul 1999 21:18:17 +0000 Subject: Call ldconfig correctly so this has a fighting chance of working for both ELF and a.out builds. --- math/librandlib/Makefile | 4 ++-- math/libranlib/Makefile | 4 ++-- math/randlib/Makefile | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'math') 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 # -# $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 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 # -# $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 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 # -# $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 -- cgit v1.2.3