summaryrefslogtreecommitdiff
path: root/graphics/tcm
diff options
context:
space:
mode:
authorMichael Landin <mich@FreeBSD.org>2004-08-18 15:59:36 +0000
committerMichael Landin <mich@FreeBSD.org>2004-08-18 15:59:36 +0000
commit28755ce396e2b547c46a600d6c60142cfbd48620 (patch)
tree6734612f9bee46a4e6cd0fba9c6724ebdc62c579 /graphics/tcm
parentAdd a patch to optionnaly add libspf2 (diff)
o Fix build with gcc 3.4.x
o Switch to REINPLACE_CMD o Tested on CURRENT-amd64 / CURRENT-i386 / 5.2.1REL-i386 Tested by mux
Notes
Notes: svn path=/head/; revision=116599
Diffstat (limited to 'graphics/tcm')
-rw-r--r--graphics/tcm/Makefile4
-rw-r--r--graphics/tcm/files/patch-src_sd_dv_function.h16
2 files changed, 19 insertions, 1 deletions
diff --git a/graphics/tcm/Makefile b/graphics/tcm/Makefile
index 1ede5462e57d..dc1b4e9e5b42 100644
--- a/graphics/tcm/Makefile
+++ b/graphics/tcm/Makefile
@@ -20,6 +20,7 @@ RUN_DEPENDS= fig2dev:${PORTSDIR}/print/transfig
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+USE_REINPLACE= yes
USE_MOTIF= yes
USE_BISON= yes
USE_GMAKE= yes
@@ -33,8 +34,9 @@ MAN1= psf.1 tatd.1 tcbd.1 tcm.1 tcmd.1 tcmdv.1 tcmt.1 tcpd.1 tcrd.1 \
post-patch:
@${RM} ${WRKSRC}/man/windex
@${CHMOD} 0644 ${WRKSRC}/lib/colorrgb.txt
+ @${REINPLACE_CMD} -e 's:gcc:g++:g' ${WRKSRC}/bin/makedepend.sh
post-install:
- @${SED} -e 's:/usr/local:${PREFIX}:g' ${PKGMESSAGE}
+ @${REINPLACE_CMD} -e 's:/usr/local:${PREFIX}:g' ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/graphics/tcm/files/patch-src_sd_dv_function.h b/graphics/tcm/files/patch-src_sd_dv_function.h
new file mode 100644
index 000000000000..c9b9955ecf34
--- /dev/null
+++ b/graphics/tcm/files/patch-src_sd_dv_function.h
@@ -0,0 +1,16 @@
+
+$FreeBSD$
+
+--- src/sd/dv/function.h.orig Wed Aug 18 16:02:05 2004
++++ src/sd/dv/function.h Wed Aug 18 16:02:38 2004
+@@ -19,8 +19,8 @@
+ // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ // 02111-1307, USA.
+ //-----------------------------------------------------------------------------
+-#ifndef _FUNCTION_H
+-#define _FUNCTION_H
++#ifndef _FUNCTION_CLASS_H
++#define _FUNCTION_CLASS_H
+
+ #include "c1edge.h"
+ class ERGraph;