freebsd-ports/devel/cobf/files/patch-makefile
Pav Lucistnik 3e82ea7898 COBF (aka C-Obfuscator) is a program which manipulates C or C++ sourcefiles
in a way that they aren't readable by human beings; but they remain
compilable.

WWW: http://home.arcor.de/bernhard.baier/cobf/

Please note: the 'copyright.txt' disallows patching the sourcecode
without explicit permission from the author. Binary packages are not
permitted without shipping the source.

I contacted the author of COBF (emails available per request) and we are
allowed to patch 'src/cpp/makefile' (see 'files/patch-makefile'). He
also permits us shipping binary-only packages (because users can obtain
the source with 'make fetch' anyway).

PR:		ports/97264
Submitted by:	Ed Schouten <ed@fxq.nl>
2006-06-11 09:39:38 +00:00

26 lines
572 B
Text

--- src/cpp/makefile Fri Jan 6 18:55:56 2006
+++ src/cpp/makefile Sun May 14 14:23:10 2006
@@ -3,9 +3,8 @@
# Makefile for gcc 3.4.4
#
#
-CFLAGS = -Wall -O6 -fomit-frame-pointer -m486 -Dunix -I ../include
+CXXFLAGS += -Dunix -I../include
CCFLAGS = -Wall -O6 -fomit-frame-pointer -m486 -Dunix -I ../include
-LDFLAGS = -lstdc++
AS =as
LD =gcc $(LDFLAGS)
@@ -32,11 +31,8 @@
.cc.o:
$(CCC) -c -o $*.o $<
-.cpp.o:
- $(CCC) -c -o $*.o $<
-
cobf: $(COBF_OBJECTS)
- $(LD) -o $@ $(COBF_OBJECTS) $(LDFLAGS)
+ $(CXX) -o $@ $(COBF_OBJECTS) $(LDFLAGS)
clean:
-rm *.o