summaryrefslogtreecommitdiffstats
path: root/devel/cccc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/cccc')
-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 2a9b6b2..3c35001 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 8e6e558..105138c 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
+
OpenPOWER on IntegriCloud