pkgsrc/devel/ncc/patches/patch-ab
wiz 4bc80e7c50 Initial import of wip/ncc-2.8, last updated by Marko Schütz.
ncc is a compiler that produces program analysis information. ncc
is a decent replacement of cflow and cscope able to analyze any
program using the gcc compiler. The program also includes a
graphical call-graph navigator and source browser which is extremely
practical for hacking and comprehending large projects.
2008-10-20 07:52:26 +00:00

15 lines
332 B
Text

$NetBSD: patch-ab,v 1.1.1.1 2008/10/20 07:52:26 wiz Exp $
--- Makefile.orig 2006-09-26 16:23:53.000000000 +0000
+++ Makefile
@@ -1,8 +1,8 @@
# these are set by config
-CC = g++
+CC = $(CXX)
DESTDIR ?= /usr
-LCFLAGS = -g -O2
+LCFLAGS = -g
BINDIR = ${DESTDIR}/bin
MANDIR = ${DESTDIR}/share/man
INCLUDEDIR = ${DESTDIR}/include