mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
- Update to 090922
- Allow on amd64 PR: ports/132952 Submitted by: Alex Kozlov <spam@rm-rf.kiev.ua> Approved by: maintainer timeout (obrien; 6 months) Feature safe: yes
This commit is contained in:
parent
89f4896ed6
commit
e45e8baa25
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=241945
@ -7,7 +7,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= pcc
|
||||
DATESPEC= 081227
|
||||
DATESPEC= 090922
|
||||
PORTVERSION= 0.9.9.${DATESPEC}
|
||||
PORTREVISION?= 0
|
||||
CATEGORIES= lang
|
||||
@ -20,12 +20,11 @@ EXTRACT_SUFX= .tgz
|
||||
MAINTAINER= obrien@FreeBSD.org
|
||||
COMMENT= S.C.Johnson's Portable C Compiler brought into the C99 world.
|
||||
|
||||
ONLY_FOR_ARCHS= i386
|
||||
ONLY_FOR_ARCHS= i386 amd64
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${DATESPEC}
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV+= YACC=${YACC}
|
||||
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
||||
USE_GMAKE= yes
|
||||
|
||||
MAN1= pcc.1 cpp.1 ccom.1
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (pcc-081227.tgz) = 93393dec36caa7dc2f4ec22e2c1a9f76
|
||||
SHA256 (pcc-081227.tgz) = 9fe643c2979482a565e9430019a74596df4a893e977327cb9a8fb9faeecb2cd9
|
||||
SIZE (pcc-081227.tgz) = 604716
|
||||
MD5 (pcc-090922.tgz) = 0a715a557803bbd85d086991129aa037
|
||||
SHA256 (pcc-090922.tgz) = 080bfc74382c81463309b2b29bbe1290cb5c646d58b09037b2ffd76b590a42a1
|
||||
SIZE (pcc-090922.tgz) = 625541
|
||||
|
@ -41,8 +41,13 @@
|
||||
#define ENDFILES { "/usr/lib/crtend.o", "/usr/lib/crtn.o", NULL }
|
||||
#define STARTLABEL "_start"
|
||||
|
||||
/*
|
||||
* XXX multitargets ?
|
||||
*/
|
||||
#if defined(mach_i386) || defined(mach_x86)
|
||||
#define CPPMDADD { "-D__i386__", "-D__i386", NULL, }
|
||||
#elif defined(mach_amd64)
|
||||
#define CPPMDADD { "-D__x86_64__", NULL, }
|
||||
#else
|
||||
#error defines for arch missing
|
||||
#endif
|
||||
|
9
lang/pcc/files/patch-configure
Normal file
9
lang/pcc/files/patch-configure
Normal file
@ -0,0 +1,9 @@
|
||||
Index: configure
|
||||
@@ -1956,6 +1956,7 @@
|
||||
esac
|
||||
case "$target_cpu" in
|
||||
i386) targmach=i386 ;;
|
||||
+ amd64) targmach=amd64 ;;
|
||||
esac
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user