aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>1998-09-27 17:18:30 +0800
committermarkm <markm@FreeBSD.org>1998-09-27 17:18:30 +0800
commit52995e7fb4d2fd3a425aa5785cad100e608dc260 (patch)
treea629da2305d56a315c16e38baaccfac1694f969e /graphics
parent3385447b6cf1809b9c1ea088f4096c84b92014de (diff)
downloadfreebsd-ports-gnome-52995e7fb4d2fd3a425aa5785cad100e608dc260.tar.gz
freebsd-ports-gnome-52995e7fb4d2fd3a425aa5785cad100e608dc260.tar.zst
freebsd-ports-gnome-52995e7fb4d2fd3a425aa5785cad100e608dc260.zip
Provide replacements for the NetBSD (a.out) .o modules from the Linux (ELF)
world. This works in this case because the supplied .o modules make no (Linux) syscalls.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/xanim/Makefile17
-rw-r--r--graphics/xanim/distinfo3
2 files changed, 15 insertions, 5 deletions
diff --git a/graphics/xanim/Makefile b/graphics/xanim/Makefile
index 009b435b7a35..b1c1ba7eafc7 100644
--- a/graphics/xanim/Makefile
+++ b/graphics/xanim/Makefile
@@ -3,7 +3,7 @@
# Date created: Sat Nov 5 11:43:03 PST 1994
# Whom: piero
#
-# $Id: Makefile,v 1.13 1998/04/28 11:50:15 tg Exp $
+# $Id: Makefile,v 1.14 1998/09/14 20:37:01 markm Exp $
#
DISTNAME= xanim27070
@@ -27,15 +27,22 @@ post-extract:
done
${CP} ${WRKSRC}/docs/xanim.man ${WRKSRC}
+MAKE_ENV+= XA_IV32_DEF=-DXA_INDEO \
+ XA_CVID_DEF=-DXA_CINEPAK \
+ XA_CYUV_DEF=-DXA_CYUV
+
.include <bsd.port.mk>
.if ${PORTOBJFORMAT} != elf
EXTRA_FILES= xa2.0_cvid_netbsd386.o.Z xa2.0_iv32_netbsd386.o.Z \
xa1.0_cyuv_netbsd386.o.Z
-MAKE_ENV+= XA_IV32_DEF=-DXA_INDEO \
- XA_CVID_DEF=-DXA_CINEPAK \
- XA_CYUV_DEF=-DXA_CYUV \
- XA_IV32_LIB=xa2.0_cvid_netbsd386.o \
+MAKE_ENV+= XA_IV32_LIB=xa2.0_cvid_netbsd386.o \
XA_CVID_LIB=xa2.0_iv32_netbsd386.o \
XA_CYUV_LIB=xa1.0_cyuv_netbsd386.o
+.else
+EXTRA_FILES= xa2.0_cvid_linuxELF.o.Z xa2.0_iv32_linuxELF.o.Z \
+ xa1.0_cyuv_linuxELF.o.Z
+MAKE_ENV+= XA_IV32_LIB=xa2.0_cvid_linuxELF.o \
+ XA_CVID_LIB=xa2.0_iv32_linuxELF.o \
+ XA_CYUV_LIB=xa1.0_cyuv_linuxELF.o
.endif
diff --git a/graphics/xanim/distinfo b/graphics/xanim/distinfo
index a8bc3a99d636..5cc990b6258f 100644
--- a/graphics/xanim/distinfo
+++ b/graphics/xanim/distinfo
@@ -2,3 +2,6 @@ MD5 (xanim27070.tar.gz) = 768253a86b059b4d100e34c602931af6
MD5 (xa2.0_cvid_netbsd386.o.Z) = 80a70d69ea532c7f32a074381fff8468
MD5 (xa2.0_iv32_netbsd386.o.Z) = 1968c29d77e02c53df14bc4f2a29a1c0
MD5 (xa1.0_cyuv_netbsd386.o.Z) = 9f2d2b1a14f4518ffd02c0f45ccbf9e6
+MD5 (xa2.0_cvid_linuxELF.o.Z) = 3b4e0575227a595267f8ea8c8dc389d4
+MD5 (xa2.0_iv32_linuxELF.o.Z) = 6d96884a3ab902efb3315388c5091c42
+MD5 (xa1.0_cyuv_linuxELF.o.Z) = 1485e89ede4f392229b3dbee0015b59d