aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/xanim/Makefile
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/xanim/Makefile
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/xanim/Makefile')
-rw-r--r--graphics/xanim/Makefile17
1 files changed, 12 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