aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-03-03 17:15:20 +0800
committervs <vs@FreeBSD.org>2005-03-03 17:15:20 +0800
commit7695523d08fc0cc2a13cf40a645f652a00658e9d (patch)
treec343a5ea412e62794574e7660a5f71ae0cde1b6c /devel
parentbd034abbb94531e0c89875929215b8b66d8d5841 (diff)
downloadfreebsd-ports-gnome-7695523d08fc0cc2a13cf40a645f652a00658e9d.tar.gz
freebsd-ports-gnome-7695523d08fc0cc2a13cf40a645f652a00658e9d.tar.zst
freebsd-ports-gnome-7695523d08fc0cc2a13cf40a645f652a00658e9d.zip
Fix build with newer versions of cmake
Submitted by: barner@
Diffstat (limited to 'devel')
-rw-r--r--devel/gccxml/Makefile1
-rw-r--r--devel/gccxml/files/patch-GCC::gcc::CMakeLists.txt10
2 files changed, 11 insertions, 0 deletions
diff --git a/devel/gccxml/Makefile b/devel/gccxml/Makefile
index 24fed6abc731..15404ef6604a 100644
--- a/devel/gccxml/Makefile
+++ b/devel/gccxml/Makefile
@@ -17,6 +17,7 @@ BUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake
NOT_FOR_ARCHS= amd64 sparc64 ia64 # cf. lang/gcc30
+PATCH_WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
WRKSRC= ${WRKDIR}/${PORTNAME}-build
MAN1= gccxml.1
diff --git a/devel/gccxml/files/patch-GCC::gcc::CMakeLists.txt b/devel/gccxml/files/patch-GCC::gcc::CMakeLists.txt
new file mode 100644
index 000000000000..d3b083b5123d
--- /dev/null
+++ b/devel/gccxml/files/patch-GCC::gcc::CMakeLists.txt
@@ -0,0 +1,10 @@
+--- GCC/gcc/CMakeLists.txt.orig Thu Mar 3 01:20:29 2005
++++ GCC/gcc/CMakeLists.txt Thu Mar 3 01:20:54 2005
+@@ -5,6 +5,7 @@
+ ${GCC_SOURCE_DIR}/include
+ ${GCC_SOURCE_DIR}/gcc
+ ${GCC_SOURCE_DIR}/gcc/config
++ ${GCC_SOURCE_DIR}/gcc/cp
+ ${GCC_BINARY_DIR}/gcc)
+
+ ADD_DEFINITIONS(-DIN_GCC -DHAVE_CONFIG_H)