forked from Lainports/freebsd-ports
- fix remaining two places where CFLAGS weren't respected; - use cpio(1) to copy hierarchies instead of tar(1), so that it is possible to build the port as ordinary user, but still have installed files be owned by root; - use slightly different solution for the problem with 777 permissions on directories created during the build. Instead of harcoding resulting prmission apply umask(2) to all mode arguments of [f]chmod() calls. Since Rotor has no notion of file-level security anyway this should be an optimal way to fix the problem. Submitted by: Patrick Backlund <pbacklun@cc.hut.fi> (cpio fix) sobomax (the rest)
15 lines
408 B
Text
15 lines
408 B
Text
|
|
$FreeBSD$
|
|
|
|
--- tools/cppmunge/makefile.orig Fri Mar 22 03:49:22 2002
|
|
+++ tools/cppmunge/makefile Wed Apr 10 12:10:29 2002
|
|
@@ -17,7 +17,8 @@
|
|
# makefile for cppmunge
|
|
# ============================================================================
|
|
|
|
-CFLAGS = -g -Wall -O2
|
|
+CFLAGS ?= -g -Wall -O2
|
|
+CFLAGS += -fno-builtin -fno-exceptions -fno-rtti
|
|
TARGET_NAME = $(TARGETCOMPLUS)/cppmunge
|
|
|
|
SOURCES=cppmunge.c
|