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.
This commit is contained in:
parent
8f7ae93769
commit
5526e9eb87
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=13453
4 changed files with 30 additions and 10 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue