Files
pkgsrc-ng/security/sks/patches/patch-ac
2013-09-26 17:14:40 +02:00

38 lines
929 B
Plaintext

$NetBSD: patch-ac,v 1.2 2012/11/10 14:24:45 pettai Exp $
--- Makefile.orig 2012-11-10 12:39:36.000000000 +0000
+++ Makefile
@@ -14,7 +14,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA
#
-CINCLUDES=-I`ocamlc -where`
+CINCLUDES=-I${PREFIX}/lib/ocaml
CC=gcc
CXX=g++
CFLAGS=-O3 -Werror-implicit-function-declaration $(CINCLUDES) -I .
@@ -34,7 +34,7 @@ export OCAMLC
export OCAMLOPT
export CAMLP4O
-include Makefile.local
+#include Makefile.local
ifndef PREFIX
PREFIX=/usr/local
@@ -126,10 +126,10 @@ keyMerge.cmx: keyMerge.ml
# Special targets
install:
- mkdir -p $(PREFIX)/bin
- install sks_build.sh sks sks_add_mail $(PREFIX)/bin
- mkdir -p $(MANDIR)/man8
- install sks.8.gz $(MANDIR)/man8
+# mkdir -p $(PREFIX)/bin
+# install sks_build.sh sks sks_add_mail $(PREFIX)/bin
+# mkdir -p $(MANDIR)/man8
+# install sks.8.gz $(MANDIR)/man8
install.bc:
mkdir -p $(PREFIX)/bin