- Fix build on amd64 [1]

- Switch to bash 3

PR:		ports/73746 [1]
Submitted by:	Arjan van Leeuwen <avleeuwen@piwebs.com>
Approved by:	maintainer timeout (4 months)
This commit is contained in:
Pav Lucistnik 2005-02-25 23:51:19 +00:00
parent efe86900c6
commit f2e1fac768
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=129810
2 changed files with 12 additions and 5 deletions

View file

@ -16,7 +16,7 @@ MAINTAINER= lioux@FreeBSD.org
COMMENT= Set of tools to record/playback/edit videos in MPEG format
LIB_DEPENDS= aviplay.0:${PORTSDIR}/multimedia/avifile
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
USE_GNOME= glib12
USE_GMAKE= yes
@ -60,10 +60,6 @@ post-install:
BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm
.endif
.if ${ARCH} == "amd64"
BROKEN= "Does not compile on amd64 (needs -fPIC)"
.endif
# pre-detection
# JPEGMMX
.if exists(${LOCALBASE}/lib/libjpeg-mmx.a)

View file

@ -0,0 +1,11 @@
--- utils/Makefile.in.orig Tue Nov 9 22:37:34 2004
+++ utils/Makefile.in Tue Nov 9 22:37:44 2004
@@ -56,7 +56,7 @@
CCAS = @CCAS@
CCASFLAGS = @CCASFLAGS@
CCDEPMODE = @CCDEPMODE@
-CFLAGS = @CFLAGS@
+CFLAGS = @CFLAGS@ -fPIC
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CXX = @CXX@