diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2013-09-02 05:36:56 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2013-09-02 05:36:56 +0000 |
commit | 78c42ac429f90e26a2838c5ce4a862e409d677c3 (patch) | |
tree | f790f1d5b7925b77e4923318adfea50bfce91bea /lang/pcc | |
parent | 1668b1ed92839d1125f46cbf46bc47c9d72794cb (diff) | |
download | ports-78c42ac429f90e26a2838c5ce4a862e409d677c3.tar.gz ports-78c42ac429f90e26a2838c5ce4a862e409d677c3.zip |
Notes
Diffstat (limited to 'lang/pcc')
-rw-r--r-- | lang/pcc/Makefile | 15 | ||||
-rw-r--r-- | lang/pcc/pkg-descr | 2 |
2 files changed, 10 insertions, 7 deletions
diff --git a/lang/pcc/Makefile b/lang/pcc/Makefile index 43c33ff241b5..10c0034efc1f 100644 --- a/lang/pcc/Makefile +++ b/lang/pcc/Makefile @@ -1,4 +1,4 @@ -# Created by: David O'Brien (obrien@NUXI.org) +# Created by: David O'Brien <obrien@NUXI.org> # $FreeBSD$ PORTNAME= pcc @@ -10,20 +10,23 @@ MASTER_SITES= ftp://pcc.ludd.ltu.se/pub/pcc-releases/ \ EXTRACT_SUFX= .tgz MAINTAINER= joel@FreeBSD.org -COMMENT= The Portable C Compiler +COMMENT= Portable C Compiler ONLY_FOR_ARCHS= i386 amd64 -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +USES= gmake GNU_CONFIGURE= yes CONFIGURE_ENV= YACC=${YACC} -USES= gmake - -MAKE_JOBS_UNSAFE=yes MAN1= ccom.1 cpp.1 pcc.1 PLIST_FILES= bin/pcc libexec/ccom libexec/cpp +# Fix -jX builds: use -C switch instead of cd'ing and add missing dependency +post-patch: + @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -E \ + 's/cd (.+)(;| &&) (\$$[{(]MAKE[})][^$$]*)( \$$\(MFLAGS\))?/\3 -C \1/' + @${ECHO_CMD} 'builtins.o: pass1.h' >> ${WRKSRC}/cc/ccom/Makefile.in + pre-configure: ${MKDIR} ${WRKSRC}/os/freebsd ${CP} ${FILESDIR}/*.h ${WRKSRC}/os/freebsd diff --git a/lang/pcc/pkg-descr b/lang/pcc/pkg-descr index 1843c6bc43cf..b5f48120f1c8 100644 --- a/lang/pcc/pkg-descr +++ b/lang/pcc/pkg-descr @@ -1,6 +1,6 @@ This compiler is based on the original Portable C Compiler by S. C. Johnson, written in the late 70's. Even though much of the compiler has been -rewritten, some of the basics still remain. +rewritten, some of the basics still remain. The intention is to write a C99 compiler while still keeping it small, simple, fast and understandable. I think of it as if it shall be able to compile and |