summaryrefslogtreecommitdiff
path: root/x11/ocaml-lablgtk/patches/patch-src_Makefile
blob: 319a4f08c001bf387227ada9e97a0966682e5fda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-src_Makefile,v 1.4 2020/01/29 07:58:36 jaapb Exp $

Do not create an ld.conf, this is done afterwards through the PLIST

--- src/Makefile.orig	2018-12-14 07:43:18.000000000 +0000
+++ src/Makefile
@@ -402,11 +402,7 @@ findlib-install:
 	  exit 2; fi
 	mkdir -p "$(BINDIR)"
 	mkdir -p "$(DESTDIR)$(FINDLIBDIR)"
-	@if test -f "$(DESTDIR)$(OCAMLLDCONF)"; then :; else \
-	  mkdir -p "`dirname $(DESTDIR)$(OCAMLLDCONF)`"; \
-	  touch "$(DESTDIR)$(OCAMLLDCONF)"; fi
-	$(OCAMLFIND) install -destdir "$(DESTDIR)$(FINDLIBDIR)" \
-	  -ldconf "$(DESTDIR)$(OCAMLLDCONF)" \
+	$(OCAMLFIND) install \
     lablgtk2 ../META \
     build.ml \
     $(CLIBS) \