diff options
Diffstat (limited to 'multimedia/xanim')
-rw-r--r-- | multimedia/xanim/Makefile | 15 | ||||
-rw-r--r-- | multimedia/xanim/files/patch-ab | 26 |
2 files changed, 21 insertions, 20 deletions
diff --git a/multimedia/xanim/Makefile b/multimedia/xanim/Makefile index dc0b0d3..009b435 100644 --- a/multimedia/xanim/Makefile +++ b/multimedia/xanim/Makefile @@ -3,7 +3,7 @@ # Date created: Sat Nov 5 11:43:03 PST 1994 # Whom: piero # -# $Id: Makefile,v 1.12 1997/06/09 22:27:11 max Exp $ +# $Id: Makefile,v 1.13 1998/04/28 11:50:15 tg Exp $ # DISTNAME= xanim27070 @@ -16,8 +16,6 @@ DISTFILES= ${EXTRACT_ONLY} ${EXTRA_FILES} MAINTAINER= ports@FreeBSD.ORG EXTRACT_ONLY= ${DISTNAME}.tar.gz -EXTRA_FILES= xa2.0_cvid_netbsd386.o.Z xa2.0_iv32_netbsd386.o.Z \ - xa1.0_cyuv_netbsd386.o.Z USE_IMAKE= yes MAN1= xanim.1 MANCOMPRESSED= yes @@ -30,3 +28,14 @@ post-extract: ${CP} ${WRKSRC}/docs/xanim.man ${WRKSRC} .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 \ + XA_CVID_LIB=xa2.0_iv32_netbsd386.o \ + XA_CYUV_LIB=xa1.0_cyuv_netbsd386.o +.endif diff --git a/multimedia/xanim/files/patch-ab b/multimedia/xanim/files/patch-ab index 500452b..794adc1 100644 --- a/multimedia/xanim/files/patch-ab +++ b/multimedia/xanim/files/patch-ab @@ -1,23 +1,15 @@ ---- Imakefile.old Tue Apr 28 02:39:31 1998 -+++ Imakefile Tue Apr 28 02:45:12 1998 -@@ -91,13 +91,13 @@ - XCOMM -- Indeo 3.x IV32 indeo.readme - XCOMM -- Creative CYUV creative.readme - XCOMM --XCOMM XA_IV32_DEF = -DXA_INDEO --XCOMM XA_CVID_DEF = -DXA_CINEPAK --XCOMM XA_CYUV_DEF = -DXA_CYUV --XCOMM +--- Imakefile.orig Tue Mar 24 01:55:08 1998 ++++ Imakefile Mon Sep 14 22:22:19 1998 +@@ -95,9 +95,9 @@ + XCOMM XA_CVID_DEF = -DXA_CINEPAK + XCOMM XA_CYUV_DEF = -DXA_CYUV + XCOMM -XA_IV32_LIB = -XA_CVID_LIB = -XA_CYUV_LIB = -+XA_IV32_DEF = -DXA_INDEO -+XA_CVID_DEF = -DXA_CINEPAK -+XA_CYUV_DEF = -DXA_CYUV -+XCOMM -+XA_IV32_LIB = xa2.0_cvid_netbsd386.o -+XA_CVID_LIB = xa2.0_iv32_netbsd386.o -+XA_CYUV_LIB = xa1.0_cyuv_netbsd386.o ++XCOMM XA_IV32_LIB = xa2.0_cvid_netbsd386.o ++XCOMM XA_CVID_LIB = xa2.0_iv32_netbsd386.o ++XCOMM XA_CYUV_LIB = xa1.0_cyuv_netbsd386.o XCOMM XCOMM NOTE: SGI Machines Only: XCOMM if your linker core dumps then you'll need to uncomment the following |