From 9f0ed4f0ba1a788ca51b178b25044d94308f1074 Mon Sep 17 00:00:00 2001 From: mharo Date: Sun, 18 Apr 1999 18:52:16 +0000 Subject: No longer BROKEN (updated patchfile) PR: 11191 Submitted by: John Baldwin jobaldwi@vt.edu --- devel/cccc/Makefile | 10 ++-------- devel/cccc/files/patch-ab | 34 +++++++++++++++++----------------- 2 files changed, 19 insertions(+), 25 deletions(-) diff --git a/devel/cccc/Makefile b/devel/cccc/Makefile index 2a9b6b23613..3c350013851 100644 --- a/devel/cccc/Makefile +++ b/devel/cccc/Makefile @@ -3,7 +3,7 @@ # Date created: 12 September 1997 # Whom: Andrey Zakhvatov # -# $Id: Makefile,v 1.4 1998/10/12 15:54:23 jseger Exp $ +# $Id: Makefile,v 1.5 1998/11/11 05:37:09 asami Exp $ # DISTNAME= cccc-2.1.1.src @@ -17,12 +17,6 @@ MAINTAINER= andy@icc.surw.chel.su BUILD_DEPENDS= antlr:${PORTSDIR}/devel/pccts \ dlg:${PORTSDIR}/devel/pccts -.include - -.if ${OSVERSION} >= 300000 -BROKEN= signal.h:163: syntax error -.endif - WRKSRC= ${WRKDIR}/usr/local/src/cccc-2.1.1 USE_GMAKE= yes MAKEFILE= makefile @@ -37,4 +31,4 @@ do-install: @ ${MKDIR} ${PREFIX}/share/doc/cccc @ ${INSTALL_DATA} ${WRKSRC}/readme.txt ${PREFIX}/share/doc/cccc -.include +.include diff --git a/devel/cccc/files/patch-ab b/devel/cccc/files/patch-ab index 8e6e558831f..105138c82d3 100644 --- a/devel/cccc/files/patch-ab +++ b/devel/cccc/files/patch-ab @@ -1,17 +1,17 @@ -*** cccc.h Sun Aug 10 16:52:24 1997 ---- /home/andy/tmp/wrk/cccc.h Fri Sep 12 23:00:32 1997 -*************** -*** 21,27 **** ---- 21,32 ---- - #else - - #define SIGNAL_HEADER -+ -+ #ifdef __FreeBSD__ -+ #define DEFAULT_LIBDIR "/usr/local/share/cccc" -+ #else - #define DEFAULT_LIBDIR "/usr/local/lib/cccc" -+ #endif - - #endif - +--- cccc.h.orig Sun Aug 10 09:52:24 1997 ++++ cccc.h Sun Apr 18 11:47:39 1999 +@@ -20,8 +20,13 @@ + + #else + +-#define SIGNAL_HEADER ++#ifdef __FreeBSD__ ++#define SIGNAL_HEADER ++#define DEFAULT_LIBDIR "/usr/local/share/cccc" ++#else + #define DEFAULT_LIBDIR "/usr/local/lib/cccc" ++#define SIGNAL_HEADER ++#endif + + #endif + -- cgit