mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
Add support for amd64.
PR: ports/163305 Submitted by: Howard Goldstein <hg@queue.to>
This commit is contained in:
parent
1f1e96612d
commit
4d865aab45
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=287655
@ -22,10 +22,16 @@ USE_BZIP2= yes
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
USE_LDCONFIG= yes
|
||||
ONLY_FOR_ARCHS= i386
|
||||
ONLY_FOR_ARCHS= i386 amd64
|
||||
PLIST_FILES= include/fec.h lib/libfec.so lib/libfec.a
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "amd64"
|
||||
CFLAGS+= -fPIC
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/makefile.in
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
12
comms/libfec/files/patch-dotprod.c
Normal file
12
comms/libfec/files/patch-dotprod.c
Normal file
@ -0,0 +1,12 @@
|
||||
*** dotprod.c 2006-10-12 21:10:53.000000000 -0400
|
||||
--- ../../foowork/fec-3.0.1/dotprod.c 2011-12-14 20:43:00.132752233 -0500
|
||||
***************
|
||||
*** 54,59 ****
|
||||
--- 54,60 ----
|
||||
switch(Cpu_mode){
|
||||
case PORT:
|
||||
default:
|
||||
+ return feedp_port(p);
|
||||
#ifdef __i386__
|
||||
case MMX:
|
||||
case SSE:
|
Loading…
Reference in New Issue
Block a user