summaryrefslogtreecommitdiffstats
path: root/graphics/xanim
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>1998-09-14 20:37:02 +0000
committermarkm <markm@FreeBSD.org>1998-09-14 20:37:02 +0000
commit1d7cd6b62f440ab5ca8585747e474aa999814559 (patch)
tree02bb3193f141306893470972346ba034fed41c85 /graphics/xanim
parenta4daeaa0b13bde1be5088c84362fcc75996d52cb (diff)
downloadFreeBSD-ports-1d7cd6b62f440ab5ca8585747e474aa999814559.zip
FreeBSD-ports-1d7cd6b62f440ab5ca8585747e474aa999814559.tar.gz
Convert to ELF.
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 dc0b0d3..009b435 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 500452b..794adc1 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
OpenPOWER on IntegriCloud