aboutsummaryrefslogtreecommitdiff
path: root/security/libtomcrypt/files
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-08-29 14:58:21 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-08-29 14:58:21 +0000
commit9e9dcc48e9960a0b09d745f77dc7e1e8998db865 (patch)
tree4f209ba5961a520b56613f0cceb297cc64fbd533 /security/libtomcrypt/files
parentbc6e6582e11c72d0f0a6c604046a0b5e8fb20022 (diff)
downloadports-9e9dcc48e9960a0b09d745f77dc7e1e8998db865.tar.gz
ports-9e9dcc48e9960a0b09d745f77dc7e1e8998db865.zip
Notes
Diffstat (limited to 'security/libtomcrypt/files')
-rw-r--r--security/libtomcrypt/files/patch-makefile52
1 files changed, 52 insertions, 0 deletions
diff --git a/security/libtomcrypt/files/patch-makefile b/security/libtomcrypt/files/patch-makefile
new file mode 100644
index 000000000000..de4f9b53d746
--- /dev/null
+++ b/security/libtomcrypt/files/patch-makefile
@@ -0,0 +1,52 @@
+--- makefile.orig Thu Aug 18 13:07:13 2005
++++ makefile Thu Aug 18 13:10:14 2005
+@@ -15,7 +15,7 @@
+ #ARFLAGS=r
+
+ # Compilation flags. Note the += does not write over the user's CFLAGS!
+-CFLAGS += -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -Wno-unused-parameter -DLTC_SOURCE
++CFLAGS += -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -DLTC_SOURCE
+
+ # additional warnings (newer GCC 3.4 and higher)
+ #CFLAGS += -Wsystem-headers -Wdeclaration-after-statement -Wbad-function-cast -Wcast-align -Wstrict-prototypes -Wmissing-prototypes \
+@@ -24,10 +24,10 @@
+ ifndef IGNORE_SPEED
+
+ # optimize for SPEED
+-CFLAGS += -O3 -funroll-loops
++#CFLAGS += -O3 -funroll-loops
+
+ # add -fomit-frame-pointer. hinders debugging!
+-CFLAGS += -fomit-frame-pointer
++#CFLAGS += -fomit-frame-pointer
+
+ # optimize for SIZE
+ #CFLAGS += -Os -DLTC_SMALL_CODE
+@@ -249,10 +249,16 @@
+ install: library docs
+ install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(LIBPATH)
+ install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(INCPATH)
+- install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(DATAPATH)
++ install -d -g $(GROUP) -o $(USER) $(DATAPATH)
++ install -g $(GROUP) -o $(USER) $(LIBNAME) $(DESTDIR)$(LIBPATH)
++ install -g $(GROUP) -o $(USER) $(HEADERS) $(DESTDIR)$(INCPATH)
++ install -g $(GROUP) -o $(USER) doc/crypt.pdf $(DATAPATH)
++
++install_lib: library
++ install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(LIBPATH)
++ install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(INCPATH)
+ install -g $(GROUP) -o $(USER) $(LIBNAME) $(DESTDIR)$(LIBPATH)
+ install -g $(GROUP) -o $(USER) $(HEADERS) $(DESTDIR)$(INCPATH)
+- install -g $(GROUP) -o $(USER) doc/crypt.pdf $(DESTDIR)$(DATAPATH)
+
+ install_test: testprof/$(LIBTEST)
+ install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(LIBPATH)
+@@ -305,7 +311,7 @@
+ latex crypt > /dev/null
+ makeindex crypt.idx > /dev/null
+ latex crypt > /dev/null
+- dvipdf crypt
++ dvipdft crypt
+ mv -ivf crypt.pdf doc/crypt.pdf
+ rm -f $(LEFTOVERS)
+