From 72c0c2273e108129f04c84b0bc5efb37f3dcf87c Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Sun, 4 Oct 1998 20:45:48 +0000 Subject: Make this actually work on ELF machines. I'm not sure what the proper canonical thing to do with shared libs that install using minor release numbers these days, but this will work a lot better than what's there in the meantime until I figure it out. --- graphics/xpm/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'graphics/xpm') diff --git a/graphics/xpm/Makefile b/graphics/xpm/Makefile index 0dcdd6e9193f..9c02914e638b 100644 --- a/graphics/xpm/Makefile +++ b/graphics/xpm/Makefile @@ -3,7 +3,7 @@ # Date created: 14 September 1994 # Whom: jkh # -# $Id: Makefile,v 1.17 1998/09/16 01:36:13 steve Exp $ +# $Id: Makefile,v 1.18 1998/09/21 21:28:17 steve Exp $ # DISTNAME= xpm-3.4k @@ -17,8 +17,8 @@ USE_IMAKE= yes MAN1= cxpm.1 sxpm.1 post-install: - if [ "${PORTOBJFORMAT}" = "aout" ]; then \ - ${LN} -sf libXpm.so.4.11 ${PREFIX}/lib/libXpm.so; \ + if [ "${PORTOBJFORMAT}" = "elf" ]; then \ + ${LN} -sf libXpm.so.4.11 ${PREFIX}/lib/libXpm.so.4; \ fi ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib -- cgit v1.2.3