24 lines
834 B
Plaintext
24 lines
834 B
Plaintext
$NetBSD: patch-byterun_Makefile,v 1.3 2015/06/30 11:08:47 jaapb Exp $
|
|
|
|
Use BSD_INSTALL_* instead of mkdir and cp
|
|
--- byterun/Makefile.orig 2015-05-10 05:45:57.000000000 +0000
|
|
+++ byterun/Makefile
|
|
@@ -13,7 +13,7 @@
|
|
|
|
include Makefile.common
|
|
|
|
-CFLAGS=-DCAML_NAME_SPACE $(BYTECCCOMPOPTS) $(IFLEXDIR)
|
|
+CFLAGS+=-DCAML_NAME_SPACE $(BYTECCCOMPOPTS) $(IFLEXDIR)
|
|
DFLAGS=-DCAML_NAME_SPACE -g -DDEBUG $(BYTECCCOMPOPTS) $(IFLEXDIR)
|
|
|
|
OBJS=$(COMMONOBJS) $(UNIX_OR_WIN32).o main.o
|
|
@@ -57,7 +57,7 @@ install-noshared:
|
|
.PHONY: install-noshared
|
|
|
|
install-shared:
|
|
- cp libcamlrun_shared.so $(INSTALL_LIBDIR)/libcamlrun_shared.so
|
|
+ $(BSD_INSTALL_PROGRAM) libcamlrun_shared.so $(INSTALL_LIBDIR)/libcamlrun_shared.so
|
|
cp libcamlrun_pic.a $(INSTALL_LIBDIR)/libcamlrun_pic.a
|
|
cd $(INSTALL_LIBDIR); $(RANLIB) libcamlrun_pic.a
|
|
.PHONY: install-shared
|