aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormharo <mharo@FreeBSD.org>1999-04-19 02:52:16 +0800
committermharo <mharo@FreeBSD.org>1999-04-19 02:52:16 +0800
commit9f0ed4f0ba1a788ca51b178b25044d94308f1074 (patch)
tree6154ec66618795a5db22ee876e1e716e8acd0548
parent10c9b1eca02564609376f1cef89c800b7c1cc29c (diff)
downloadfreebsd-ports-graphics-9f0ed4f0ba1a788ca51b178b25044d94308f1074.tar.gz
freebsd-ports-graphics-9f0ed4f0ba1a788ca51b178b25044d94308f1074.tar.zst
freebsd-ports-graphics-9f0ed4f0ba1a788ca51b178b25044d94308f1074.zip
No longer BROKEN (updated patchfile)
PR: 11191 Submitted by: John Baldwin jobaldwi@vt.edu
-rw-r--r--devel/cccc/Makefile10
-rw-r--r--devel/cccc/files/patch-ab34
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 <bsd.port.pre.mk>
-
-.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 <bsd.port.post.mk>
+.include <bsd.port.mk>
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 <sys/signal.h>
-+
-+ #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 <sys/signal.h>
++#ifdef __FreeBSD__
++#define SIGNAL_HEADER <signal.h>
++#define DEFAULT_LIBDIR "/usr/local/share/cccc"
++#else
+ #define DEFAULT_LIBDIR "/usr/local/lib/cccc"
++#define SIGNAL_HEADER <sys/signal.h>
++#endif
+
+ #endif
+