aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2008-06-06 04:02:46 +0800
committerstas <stas@FreeBSD.org>2008-06-06 04:02:46 +0800
commitd171850468e6ab393c9d9bc519524b12c6670ea3 (patch)
treeb5b976a190252a2af1f6da213454d26f4351e4ef /devel
parent37026e749ddf827c8fbc8f50287a86400fa02f23 (diff)
downloadfreebsd-ports-graphics-d171850468e6ab393c9d9bc519524b12c6670ea3.tar.gz
freebsd-ports-graphics-d171850468e6ab393c9d9bc519524b12c6670ea3.tar.zst
freebsd-ports-graphics-d171850468e6ab393c9d9bc519524b12c6670ea3.zip
- Fix CPP location
- bump portrevision. Approved by: Thomas Vogt <thomas@bsdunix.ch> (maintainer)
Diffstat (limited to 'devel')
-rw-r--r--devel/cproto/Makefile1
-rw-r--r--devel/cproto/files/patch-system.h11
2 files changed, 12 insertions, 0 deletions
diff --git a/devel/cproto/Makefile b/devel/cproto/Makefile
index c8f722e1b32..f24675e5fa7 100644
--- a/devel/cproto/Makefile
+++ b/devel/cproto/Makefile
@@ -8,6 +8,7 @@
PORTNAME= cproto
PORTVERSION= 4.7f
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://invisible-island.net/cproto/
DISTNAME= ${PORTNAME}-${PORTVERSION}
diff --git a/devel/cproto/files/patch-system.h b/devel/cproto/files/patch-system.h
new file mode 100644
index 00000000000..eea3e0b2717
--- /dev/null
+++ b/devel/cproto/files/patch-system.h
@@ -0,0 +1,11 @@
+--- system.h.orig 2008-06-05 16:21:15.000000000 +0400
++++ system.h 2008-06-05 16:21:28.000000000 +0400
+@@ -107,7 +107,7 @@
+ /* Default C preprocessor on UNIX systems */
+ #ifndef MSDOS
+ #ifndef CPP
+-#define CPP "/lib/cpp"
++#define CPP "/usr/bin/cpp"
+ #endif
+ #endif
+