aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/EZWGL
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-10-05 10:52:32 +0800
committersteve <steve@FreeBSD.org>1998-10-05 10:52:32 +0800
commite014059ce8a5705a8cc5030745c8b8bfb85b700b (patch)
tree5cb855b4b39cf57d41bae20e7e6eb89bde23f10e /graphics/EZWGL
parent4d14ed3da81981dd8f5058a60a3a541953252462 (diff)
downloadfreebsd-ports-graphics-e014059ce8a5705a8cc5030745c8b8bfb85b700b.tar.gz
freebsd-ports-graphics-e014059ce8a5705a8cc5030745c8b8bfb85b700b.tar.zst
freebsd-ports-graphics-e014059ce8a5705a8cc5030745c8b8bfb85b700b.zip
Convert to ELF.
Diffstat (limited to 'graphics/EZWGL')
-rw-r--r--graphics/EZWGL/Makefile13
-rw-r--r--graphics/EZWGL/pkg-plist5
2 files changed, 13 insertions, 5 deletions
diff --git a/graphics/EZWGL/Makefile b/graphics/EZWGL/Makefile
index dad79163397..c0e794c31a0 100644
--- a/graphics/EZWGL/Makefile
+++ b/graphics/EZWGL/Makefile
@@ -3,7 +3,7 @@
# Date created: 4 May 1998
# Whom: Andrey Zakhvatov
#
-# $Id: Makefile,v 1.9 1998/09/19 01:27:52 hoek Exp $
+# $Id: Makefile,v 1.10 1998/09/19 01:36:18 hoek Exp $
#
DISTNAME= EZWGL-1.39
@@ -28,7 +28,8 @@ pre-install:
do-install:
@ ${INSTALL_DATA} ${WRKSRC}/include/EZ.h ${PREFIX}/include
@ ${INSTALL_DATA} ${WRKSRC}/lib/libEZ.a ${PREFIX}/lib
- @ ${INSTALL_DATA} ${WRKSRC}/lib/libEZ.so.1.3 ${PREFIX}/lib
+ @ ${INSTALL_DATA} ${WRKSRC}/lib/libEZ.so.${VERSION} ${PREFIX}/lib
+ @ ${LN} -sf libEZ.so.${VERSION} ${PREFIX}/lib/libEZ.so
.for file in ${MAN3}
@ ${INSTALL_MAN} ${WRKSRC}/man3/${file} ${PREFIX}/man/man3
.endfor
@@ -46,6 +47,12 @@ do-install:
.endif
post-install:
- ${LDCONFIG} -m ${PREFIX}/lib
+ ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>
+
+.if ${PORTOBJFORMAT} == "elf"
+VERSION= 1
+.else
+VERSION= 1.3
+.endif
diff --git a/graphics/EZWGL/pkg-plist b/graphics/EZWGL/pkg-plist
index 252230efbc7..06b966f0f5a 100644
--- a/graphics/EZWGL/pkg-plist
+++ b/graphics/EZWGL/pkg-plist
@@ -1,8 +1,9 @@
include/EZ.h
lib/libEZ.a
+lib/libEZ.so
lib/libEZ.so.1.3
-@exec /sbin/ldconfig -m %B
-@unexec /sbin/ldconfig -R
+@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
+@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
share/doc/EZ/LICENSE
share/doc/EZ/html/index.html
share/doc/EZ/html/welcome.html