1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Update to 081227.

PR:		129980
Submitted by:	Alex Kozlov <spam@rm-rf.kiev.ua>
This commit is contained in:
David E. O'Brien 2008-12-30 03:29:35 +00:00
parent 145839b422
commit b2898fe8d1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=224973
4 changed files with 20 additions and 16 deletions

View File

@ -7,7 +7,7 @@
#
PORTNAME= pcc
DATESPEC= 080613
DATESPEC= 081227
PORTVERSION= 0.9.9.${DATESPEC}
PORTREVISION?= 0
CATEGORIES= lang
@ -25,13 +25,18 @@ ONLY_FOR_ARCHS= i386
WRKSRC= ${WRKDIR}/${PORTNAME}-${DATESPEC}
GNU_CONFIGURE= yes
CONFIGURE_ENV+= YACC=${YACC}
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
PLIST_FILES= bin/pcc libexec/ccom libexec/cpp \
man/man1/pcc.1 man/man1/cpp.1 man/man1/ccom.1
MAN1= pcc.1 cpp.1 ccom.1
PLIST_FILES= bin/pcc libexec/ccom libexec/cpp
OSVERMAJOR=${OSREL:C/\.[0-9.]*//}
pre-configure:
${MKDIR} ${WRKSRC}/os/freebsd
${LN} -sf ${FILESDIR}/*.h ${WRKSRC}/os/freebsd
${CP} ${FILESDIR}/*.h ${WRKSRC}/os/freebsd
${REINPLACE_CMD} -e "s,%%OSVERMAJOR%%,${OSVERMAJOR}," \
${WRKSRC}/os/freebsd/ccconfig.h
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (pcc-080613.tgz) = 55f305f39c1c666ee057c97790a41518
SHA256 (pcc-080613.tgz) = 11c34e1f199b60d4ae25009105a07ff50e33f5a0760053a93520e55829fd4809
SIZE (pcc-080613.tgz) = 526056
MD5 (pcc-081227.tgz) = 93393dec36caa7dc2f4ec22e2c1a9f76
SHA256 (pcc-081227.tgz) = 9fe643c2979482a565e9430019a74596df4a893e977327cb9a8fb9faeecb2cd9
SIZE (pcc-081227.tgz) = 604716

View File

@ -34,7 +34,7 @@
*/
/* common cpp predefines */
#define CPPADD { "-D__FreeBSD__", "-D__ELF__", "-D__unix__=1", "-D__unix=1", "-D__STDC__=1", NULL, }
#define CPPADD { "-D__FreeBSD__=%%OSVERMAJOR%%", "-D__ELF__", "-D__unix__=1", "-D__unix=1", "-D__STDC__=1", NULL, }
#define DYNLINKER { "-dynamic-linker", "/libexec/ld-elf.so.1", NULL }
#define CRT0FILE "/usr/lib/crt1.o"
#define STARTFILES { "/usr/lib/crti.o", "/usr/lib/crtbegin.o", NULL }

View File

@ -1,14 +1,13 @@
--- cc/cc/Makefile.in.orig 2008-05-19 22:38:04.000000000 -0700
+++ cc/cc/Makefile.in 2008-06-16 07:49:59.000000000 -0700
@@ -53,8 +53,9 @@ install:
Index: cc/cc/Makefile.in
@@ -59,8 +59,9 @@
fi
test -z "${DESTDIR}$(mandir)/man1" || mkdir -p "${DESTDIR}$(mandir)/man1"
${INSTALL} cc.1 ${DESTDIR}${mandir}/man1/${DEST}.1
- test -z "$(PCCINCDIR)" || mkdir -p "$(PCCINCDIR)"
- test -z "$(PCCLIBDIR)" || mkdir -p "$(PCCLIBDIR)"
${INSTALL} $(srcdir)/cc.1 ${DESTDIR}${mandir}/man1/${DEST}.1
- test -z "${DESTDIR}$(PCCINCDIR)" || mkdir -p "${DESTDIR}$(PCCINCDIR)"
- test -z "${DESTDIR}$(PCCLIBDIR)" || mkdir -p "${DESTDIR}$(PCCLIBDIR)"
+ # Don't make unused empty directories for no reason.
+ #test -z "$(PCCINCDIR)" || mkdir -p "$(PCCINCDIR)"
+ #test -z "$(PCCLIBDIR)" || mkdir -p "$(PCCLIBDIR)"
+ #test -z "${DESTDIR}$(PCCINCDIR)" || mkdir -p "${DESTDIR}$(PCCINCDIR)"
+ #test -z "${DESTDIR}$(PCCLIBDIR)" || mkdir -p "${DESTDIR}$(PCCLIBDIR)"
clean:
/bin/rm -f $(OBJS) ${DEST}