summaryrefslogtreecommitdiffstats
path: root/graphics/giflib/Makefile
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-09-19 01:22:42 +0000
committersteve <steve@FreeBSD.org>1998-09-19 01:22:42 +0000
commitb6c919ff67590b24d0d7e049ca096704fc09843a (patch)
treeb124c474c4492a81d38e95c3bcf4899c495e5da5 /graphics/giflib/Makefile
parentf0b6d219033d67478ea8bd57089da2c196026fc3 (diff)
downloadFreeBSD-ports-b6c919ff67590b24d0d7e049ca096704fc09843a.zip
FreeBSD-ports-b6c919ff67590b24d0d7e049ca096704fc09843a.tar.gz
Make this build in an ELF world.
Diffstat (limited to 'graphics/giflib/Makefile')
-rw-r--r--graphics/giflib/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/graphics/giflib/Makefile b/graphics/giflib/Makefile
index f14af7f..04483b3 100644
--- a/graphics/giflib/Makefile
+++ b/graphics/giflib/Makefile
@@ -3,7 +3,7 @@
# Date created: 03 May 1997
# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
#
-# $Id: Makefile,v 1.1.1.1 1997/05/05 12:33:44 tg Exp $
+# $Id: Makefile,v 1.2 1997/09/24 06:55:01 tg Exp $
#
DISTNAME= giflib-3.0
@@ -17,6 +17,12 @@ post-install:
@${MKDIR} ${PREFIX}/share/doc/giflib
@${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/giflib
.endif
- @${LDCONFIG} -m ${PREFIX}/lib
+ @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>
+
+.if ${PORTOBJFORMAT} == "elf"
+GIFLIB= libgif.so.3
+.else
+GIFLIB= libgif.so.3.0
+.endif
OpenPOWER on IntegriCloud