summaryrefslogtreecommitdiff
path: root/cad/qcad/patches/patch-ad
blob: f2a28af0f1991a7633310394a27d22e9b6da61a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ad,v 1.4 2007/01/16 17:13:37 dmcmahill Exp $

Use a c++ compiler for c++ code instead of hardcoding gcc as a c++
compiler.  Reported to ribbonsoft [2007-01-16 dmcmahill].

--- fparser/Makefile.in.orig	2005-11-22 06:47:11.000000000 -0500
+++ fparser/Makefile.in
@@ -25,7 +25,7 @@ INCDIR = $(DESTDIR)/$(PREFIX)/include/fp
 SHELL = /bin/sh
 
 CC           = @CC@
-CXX          = gcc
+CXX          = @CXX@
 CFLAGS       = -I./src @CFLAGS@ @DEFS@
 INSTALL      = @INSTALL@
 INSTALL_DATA = @INSTALL_DATA@