1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Make this build and install cleanly on alpha so as to unblock the kde

build.

Approved by: kris
This commit is contained in:
Andrew Gallatin 2002-06-01 22:03:31 +00:00
parent db576618d0
commit d7ccf63375
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=60442
6 changed files with 70 additions and 46 deletions

View File

@ -18,6 +18,7 @@ PATCHFILES= xanim-2801-to-2802-patch.gz
MAINTAINER= ports@FreeBSD.org
.if (${MACHINE_ARCH} == "i386")
EXTRA_FILES= vid_cvid_2.1_freebsdELFx86.tgz \
vid_cyuv_1.0_freebsdELFx86.tgz \
vid_h261_1.0_freebsdELFx86.tgz \
@ -25,19 +26,32 @@ EXTRA_FILES= vid_cvid_2.1_freebsdELFx86.tgz \
vid_iv32_2.1_freebsdELFx86.tgz \
vid_iv41_1.1_freebsdELFx86.tgz \
vid_iv50_1.0_freebsdELFx86.tgz
DLLDIR= ${PREFIX}/lib/X11/xanim
PLIST_SUB+= CODECS=""
.else
PLIST_SUB+= CODECS="@comment "
.endif
USE_IMAKE= yes
MAN1= xanim.1
DLLDIR= ${PREFIX}/lib/X11/xanim
MAKE_ARGS+= -j 2 # safe and helps even the single-CPU machines
post-extract:
${CP} ${WRKSRC}/docs/xanim.man ${WRKSRC}
.if (${MACHINE_ARCH} == "i386")
post-install:
@${MKDIR} ${DLLDIR}
${INSTALL_DATA} ${WRKDIR}/*.readme ${DLLDIR}
${INSTALL_DATA} ${WRKDIR}/*.xa ${DLLDIR}
.endif
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
--- Imakefile.orig Sun Mar 21 16:36:26 1999
+++ Imakefile Sat Jun 19 19:23:26 1999
--- Imakefile.orig Sun Mar 21 17:36:26 1999
+++ Imakefile Thu Aug 2 14:48:37 2001
@@ -116,12 +116,12 @@
XCOMM XA_DLL_DEF = -DXA_DLL
XCOMM
@ -35,20 +35,18 @@
XCOMM
XCOMM -- Linux PC's with OLD Rev sound drivers -------------------------------
XCOMM XA_AUDIO_DEFS = -DXA_LINUX_AUDIO -DXA_LINUX_OLDER_SND
@@ -314,8 +314,10 @@
@@ -314,8 +314,8 @@
XCOMM XA_AUDIO_LIBS = -lc
XCOMM
XCOMM -- Also FreeBSD, and BSDI with SBlast-BSD-1.5 (development stages)------
-XCOMM XA_AUDIO_DEFS = -DXA_LINUX_AUDIO
-XCOMM XA_AUDIO_LIBS = -lc
+#ifdef i386Architecture
+XA_AUDIO_DEFS = -DXA_LINUX_AUDIO
+XA_AUDIO_LIBS = -lc
+#endif
XCOMM
XCOMM -- TOWNS Linux 16 bit PCM ----------------------------------------------
XCOMM XA_AUDIO_DEFS = -DXA_TOWNS_AUDIO
@@ -442,7 +444,7 @@
@@ -442,7 +442,7 @@
XCOMM -- following symbols(XmbufDisplayBuffers, XmbufQueryExtension,
XCOMM -- XmbufCreateBuffers).
XCOMM -- NOTE_8: HP-UX machines need to comment this out.
@ -57,7 +55,7 @@
XCOMM
XCOMM ###########
XCOMM
@@ -465,7 +467,7 @@
@@ -465,7 +465,7 @@
PROGRAMS = $(XANIM)

View File

@ -1,16 +1,16 @@
bin/xanim
lib/X11/xanim/cvid.readme
lib/X11/xanim/cyuv.readme
lib/X11/xanim/h261.readme
lib/X11/xanim/h263.readme
lib/X11/xanim/iv32.readme
lib/X11/xanim/iv41.readme
lib/X11/xanim/iv50.readme
lib/X11/xanim/vid_cvid_2.1_freebsdELFx86.xa
lib/X11/xanim/vid_cyuv_1.0_freebsdELFx86.xa
lib/X11/xanim/vid_h261_1.0_freebsdELFx86.xa
lib/X11/xanim/vid_h263_1.0_freebsdELFx86.xa
lib/X11/xanim/vid_iv32_2.1_freebsdELFx86.xa
lib/X11/xanim/vid_iv41_1.1_freebsdELFx86.xa
lib/X11/xanim/vid_iv50_1.0_freebsdELFx86.xa
@dirrm lib/X11/xanim
%%CODECS%%lib/X11/xanim/cvid.readme
%%CODECS%%lib/X11/xanim/cyuv.readme
%%CODECS%%lib/X11/xanim/h261.readme
%%CODECS%%lib/X11/xanim/h263.readme
%%CODECS%%lib/X11/xanim/iv32.readme
%%CODECS%%lib/X11/xanim/iv41.readme
%%CODECS%%lib/X11/xanim/iv50.readme
%%CODECS%%lib/X11/xanim/vid_cvid_2.1_freebsdELFx86.xa
%%CODECS%%lib/X11/xanim/vid_cyuv_1.0_freebsdELFx86.xa
%%CODECS%%lib/X11/xanim/vid_h261_1.0_freebsdELFx86.xa
%%CODECS%%lib/X11/xanim/vid_h263_1.0_freebsdELFx86.xa
%%CODECS%%lib/X11/xanim/vid_iv32_2.1_freebsdELFx86.xa
%%CODECS%%lib/X11/xanim/vid_iv41_1.1_freebsdELFx86.xa
%%CODECS%%lib/X11/xanim/vid_iv50_1.0_freebsdELFx86.xa
%%CODECS%%@dirrm lib/X11/xanim

View File

@ -18,6 +18,7 @@ PATCHFILES= xanim-2801-to-2802-patch.gz
MAINTAINER= ports@FreeBSD.org
.if (${MACHINE_ARCH} == "i386")
EXTRA_FILES= vid_cvid_2.1_freebsdELFx86.tgz \
vid_cyuv_1.0_freebsdELFx86.tgz \
vid_h261_1.0_freebsdELFx86.tgz \
@ -25,19 +26,32 @@ EXTRA_FILES= vid_cvid_2.1_freebsdELFx86.tgz \
vid_iv32_2.1_freebsdELFx86.tgz \
vid_iv41_1.1_freebsdELFx86.tgz \
vid_iv50_1.0_freebsdELFx86.tgz
DLLDIR= ${PREFIX}/lib/X11/xanim
PLIST_SUB+= CODECS=""
.else
PLIST_SUB+= CODECS="@comment "
.endif
USE_IMAKE= yes
MAN1= xanim.1
DLLDIR= ${PREFIX}/lib/X11/xanim
MAKE_ARGS+= -j 2 # safe and helps even the single-CPU machines
post-extract:
${CP} ${WRKSRC}/docs/xanim.man ${WRKSRC}
.if (${MACHINE_ARCH} == "i386")
post-install:
@${MKDIR} ${DLLDIR}
${INSTALL_DATA} ${WRKDIR}/*.readme ${DLLDIR}
${INSTALL_DATA} ${WRKDIR}/*.xa ${DLLDIR}
.endif
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
--- Imakefile.orig Sun Mar 21 16:36:26 1999
+++ Imakefile Sat Jun 19 19:23:26 1999
--- Imakefile.orig Sun Mar 21 17:36:26 1999
+++ Imakefile Thu Aug 2 14:48:37 2001
@@ -116,12 +116,12 @@
XCOMM XA_DLL_DEF = -DXA_DLL
XCOMM
@ -35,20 +35,18 @@
XCOMM
XCOMM -- Linux PC's with OLD Rev sound drivers -------------------------------
XCOMM XA_AUDIO_DEFS = -DXA_LINUX_AUDIO -DXA_LINUX_OLDER_SND
@@ -314,8 +314,10 @@
@@ -314,8 +314,8 @@
XCOMM XA_AUDIO_LIBS = -lc
XCOMM
XCOMM -- Also FreeBSD, and BSDI with SBlast-BSD-1.5 (development stages)------
-XCOMM XA_AUDIO_DEFS = -DXA_LINUX_AUDIO
-XCOMM XA_AUDIO_LIBS = -lc
+#ifdef i386Architecture
+XA_AUDIO_DEFS = -DXA_LINUX_AUDIO
+XA_AUDIO_LIBS = -lc
+#endif
XCOMM
XCOMM -- TOWNS Linux 16 bit PCM ----------------------------------------------
XCOMM XA_AUDIO_DEFS = -DXA_TOWNS_AUDIO
@@ -442,7 +444,7 @@
@@ -442,7 +442,7 @@
XCOMM -- following symbols(XmbufDisplayBuffers, XmbufQueryExtension,
XCOMM -- XmbufCreateBuffers).
XCOMM -- NOTE_8: HP-UX machines need to comment this out.
@ -57,7 +55,7 @@
XCOMM
XCOMM ###########
XCOMM
@@ -465,7 +467,7 @@
@@ -465,7 +465,7 @@
PROGRAMS = $(XANIM)

View File

@ -1,16 +1,16 @@
bin/xanim
lib/X11/xanim/cvid.readme
lib/X11/xanim/cyuv.readme
lib/X11/xanim/h261.readme
lib/X11/xanim/h263.readme
lib/X11/xanim/iv32.readme
lib/X11/xanim/iv41.readme
lib/X11/xanim/iv50.readme
lib/X11/xanim/vid_cvid_2.1_freebsdELFx86.xa
lib/X11/xanim/vid_cyuv_1.0_freebsdELFx86.xa
lib/X11/xanim/vid_h261_1.0_freebsdELFx86.xa
lib/X11/xanim/vid_h263_1.0_freebsdELFx86.xa
lib/X11/xanim/vid_iv32_2.1_freebsdELFx86.xa
lib/X11/xanim/vid_iv41_1.1_freebsdELFx86.xa
lib/X11/xanim/vid_iv50_1.0_freebsdELFx86.xa
@dirrm lib/X11/xanim
%%CODECS%%lib/X11/xanim/cvid.readme
%%CODECS%%lib/X11/xanim/cyuv.readme
%%CODECS%%lib/X11/xanim/h261.readme
%%CODECS%%lib/X11/xanim/h263.readme
%%CODECS%%lib/X11/xanim/iv32.readme
%%CODECS%%lib/X11/xanim/iv41.readme
%%CODECS%%lib/X11/xanim/iv50.readme
%%CODECS%%lib/X11/xanim/vid_cvid_2.1_freebsdELFx86.xa
%%CODECS%%lib/X11/xanim/vid_cyuv_1.0_freebsdELFx86.xa
%%CODECS%%lib/X11/xanim/vid_h261_1.0_freebsdELFx86.xa
%%CODECS%%lib/X11/xanim/vid_h263_1.0_freebsdELFx86.xa
%%CODECS%%lib/X11/xanim/vid_iv32_2.1_freebsdELFx86.xa
%%CODECS%%lib/X11/xanim/vid_iv41_1.1_freebsdELFx86.xa
%%CODECS%%lib/X11/xanim/vid_iv50_1.0_freebsdELFx86.xa
%%CODECS%%@dirrm lib/X11/xanim