aboutsummaryrefslogtreecommitdiff
path: root/graphics/xanim
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>1998-09-14 20:37:02 +0000
committerMark Murray <markm@FreeBSD.org>1998-09-14 20:37:02 +0000
commit4ca5b4110368ed853910dfd93a31d0259970db46 (patch)
tree348c696955df851bfea17e0130965240961f2482 /graphics/xanim
parent4611595d03f9bc05e24f2fd6080c8e6e51134269 (diff)
downloadports-4ca5b4110368ed853910dfd93a31d0259970db46.tar.gz
ports-4ca5b4110368ed853910dfd93a31d0259970db46.zip
Convert to ELF.
Notes
Notes: svn path=/head/; revision=13118
Diffstat (limited to 'graphics/xanim')
-rw-r--r--graphics/xanim/Makefile15
-rw-r--r--graphics/xanim/files/patch-ab26
2 files changed, 21 insertions, 20 deletions
diff --git a/graphics/xanim/Makefile b/graphics/xanim/Makefile
index dc0b0d3d9564..009b435b7a35 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.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/graphics/xanim/files/patch-ab b/graphics/xanim/files/patch-ab
index 500452bc82b4..794adc1a59c2 100644
--- a/graphics/xanim/files/patch-ab
+++ b/graphics/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