mirror of
https://git.freebsd.org/ports.git
synced 2025-05-20 19:13:27 -04:00
- unbreak with new gcc on -current ('using namespace std') - CFLAGS/env police - condense port's Makefile - install additional shell script - install documentation (honour NOPORTDOCS) PR: 48464 Submitted by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de> Tested on: -STABLE, -CURRENT
22 lines
517 B
Text
22 lines
517 B
Text
--- Makefile.orig Wed Feb 19 17:20:06 2003
|
|
+++ Makefile Wed Feb 19 17:21:13 2003
|
|
@@ -3,8 +3,8 @@
|
|
# Makefile for Unix and GNU/Linux with gcc/g++ compiler
|
|
# Edit here:
|
|
|
|
-CC=gcc
|
|
-CPP=g++
|
|
+CC?=gcc
|
|
+CPP=$(CXX)
|
|
|
|
# Hints:
|
|
# if you use egcs-2.90.* version of GCC please add option -fno-exceptions
|
|
@@ -18,7 +18,7 @@
|
|
|
|
# Optimized version
|
|
|
|
-CFLAGS = -c -Wall -O2 -g -DSLIST
|
|
+CFLAGS += -c
|
|
# add -DHASH_TABLE for extra speed (may sometimes produce inconsistent results)
|
|
|
|
# Optimized version with switched off asserts
|