diff options
author | Michael Haro <mharo@FreeBSD.org> | 1999-04-18 18:52:16 +0000 |
---|---|---|
committer | Michael Haro <mharo@FreeBSD.org> | 1999-04-18 18:52:16 +0000 |
commit | 7bbc2e8b874a488b685a72e0a6e306500d6fa2ce (patch) | |
tree | 9f5c463325b836084be3d13f9781dab08607d74a /devel/cccc | |
parent | 0178ef2b541c8e1d55f29f45e727740ac9c80b8f (diff) | |
download | ports-7bbc2e8b874a488b685a72e0a6e306500d6fa2ce.tar.gz ports-7bbc2e8b874a488b685a72e0a6e306500d6fa2ce.zip |
Notes
Diffstat (limited to 'devel/cccc')
-rw-r--r-- | devel/cccc/Makefile | 10 | ||||
-rw-r--r-- | devel/cccc/files/patch-ab | 34 |
2 files changed, 19 insertions, 25 deletions
diff --git a/devel/cccc/Makefile b/devel/cccc/Makefile index 2a9b6b236139..3c350013851f 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 8e6e558831fb..105138c82d32 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 + |