aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libungif
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-09-19 09:22:42 +0800
committersteve <steve@FreeBSD.org>1998-09-19 09:22:42 +0800
commitb6c919ff67590b24d0d7e049ca096704fc09843a (patch)
treeb124c474c4492a81d38e95c3bcf4899c495e5da5 /graphics/libungif
parentf0b6d219033d67478ea8bd57089da2c196026fc3 (diff)
downloadfreebsd-ports-gnome-b6c919ff67590b24d0d7e049ca096704fc09843a.tar.gz
freebsd-ports-gnome-b6c919ff67590b24d0d7e049ca096704fc09843a.tar.zst
freebsd-ports-gnome-b6c919ff67590b24d0d7e049ca096704fc09843a.zip
Make this build in an ELF world.
Diffstat (limited to 'graphics/libungif')
-rw-r--r--graphics/libungif/Makefile10
-rw-r--r--graphics/libungif/pkg-plist5
2 files changed, 11 insertions, 4 deletions
diff --git a/graphics/libungif/Makefile b/graphics/libungif/Makefile
index f14af7f8930d..04483b3ca512 100644
--- a/graphics/libungif/Makefile
+++ b/graphics/libungif/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
diff --git a/graphics/libungif/pkg-plist b/graphics/libungif/pkg-plist
index 78baa70d895a..0f1dac5e1567 100644
--- a/graphics/libungif/pkg-plist
+++ b/graphics/libungif/pkg-plist
@@ -31,9 +31,10 @@ include/giflib/getarg.h
include/giflib/gif_hash.h
include/giflib/gif_lib.h
lib/libgif.a
+lib/libgif.so
lib/libgif.so.3.0
-@exec /sbin/ldconfig -m %D/lib
-@unexec /sbin/ldconfig -R
+@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %D/lib
+@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
share/doc/giflib/gif2bgi.html
share/doc/giflib/gif2epsn.html
share/doc/giflib/gif2herc.html