aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2004-05-26 14:45:21 +0000
committerMaho Nakata <maho@FreeBSD.org>2004-05-26 14:45:21 +0000
commit3d531b402988ef83da400b0896bbb3dc2f58d731 (patch)
tree040d02367d42c9e4ee1b66d03f885056ed492e47 /lang
parent6186c139e2d560263cda482b004da3a46f714ad6 (diff)
downloadports-3d531b402988ef83da400b0896bbb3dc2f58d731.tar.gz
ports-3d531b402988ef83da400b0896bbb3dc2f58d731.zip
Notes
Diffstat (limited to 'lang')
-rw-r--r--lang/ifc/Makefile5
-rw-r--r--lang/ifc/distinfo6
-rw-r--r--lang/ifc/files/ld.c6
3 files changed, 10 insertions, 7 deletions
diff --git a/lang/ifc/Makefile b/lang/ifc/Makefile
index df1fb39eb3f0..b791189e3e47 100644
--- a/lang/ifc/Makefile
+++ b/lang/ifc/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= ifc
-PORTVERSION= 8.0.039.p044.1
+PORTVERSION= 8.0.046
CATEGORIES= lang linux devel
MASTER_SITES=
DISTNAME= l_fc_pc_${PORTVERSION:C/\.p.+$//}
@@ -166,6 +166,7 @@ do-build:
--redefine-sym ftruncate=l_ftruncate \
--redefine-sym lseek64=lseek \
--redefine-sym open64=open \
+ --redefine-sym fopen64=fopen \
--redefine-sym freopen64=freopen \
--redefine-sym creat64=creat \
--redefine-sym ftruncate64=ftruncate \
@@ -178,6 +179,8 @@ do-build:
--redefine-sym __strtoll_internal=strtoll \
--redefine-sym __strtoul_internal=strtoul \
--redefine-sym __strtoull_internal=strtoull \
+ --redefine-sym _IO_getc=getc \
+ --redefine-sym _IO_putc=putc \
${WRKSRC}/opt/${COMPILERDIR}/lib/lib${i}.a
.endfor
@${AR} q ${WRKSRC}/opt/${COMPILERDIR}/lib/libcxa.a ${WRKSRC}/*.o
diff --git a/lang/ifc/distinfo b/lang/ifc/distinfo
index 359da378f3eb..3cc201a3bbd8 100644
--- a/lang/ifc/distinfo
+++ b/lang/ifc/distinfo
@@ -1,4 +1,2 @@
-MD5 (l_fc_pc_8.0.039.tar.gz) = 96fa6b3e9688b17d3e46886ba9ba1a46
-SIZE (l_fc_pc_8.0.039.tar.gz) = 85043840
-MD5 (l_fc_pc_8.0.039_pe044.1.tar.gz) = b64e5fdb3e24a2ab87711beee1f6bc76
-SIZE (l_fc_pc_8.0.039_pe044.1.tar.gz) = 10378600
+MD5 (l_fc_pc_8.0.046.tar.gz) = 73b204ac0eced3fc337a00c4264956df
+SIZE (l_fc_pc_8.0.046.tar.gz) = 84289874
diff --git a/lang/ifc/files/ld.c b/lang/ifc/files/ld.c
index 79b092b38a50..fb304c1854ca 100644
--- a/lang/ifc/files/ld.c
+++ b/lang/ifc/files/ld.c
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__FBSDID("$FreeBSD: /tmp/pcvs/ports/lang/ifc/files/ld.c,v 1.5 2004-01-31 23:32:41 maho Exp $");
+__FBSDID("$FreeBSD: /tmp/pcvs/ports/lang/ifc/files/ld.c,v 1.6 2004-05-26 14:45:21 maho Exp $");
#include <err.h>
#include <stdio.h>
@@ -190,7 +190,9 @@ main(int argc, char *argv[], char *envp[])
/* ifc8 */
ARGCMP(i, "-lpthread") ||
/* ifc8 */
- ARGCMP(i, "-PIC"))
+ ARGCMP(i, "-PIC") ||
+ (ARGCMP(i, "-m") && i<argc-1 && ARGCMP(i+1, "elf_i386")) ||
+ (ARGCMP(i, "elf_i386") && i != 0 && ARGCMP(i-1, "-m")))
continue;
/* prepend "-melf_i386" to the commandline */