summaryrefslogtreecommitdiff
path: root/devel/smooth/files/patch-Makefile
blob: a22e158abc56b880cdc1a373d401d64fdecdd7ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- Makefile.orig	2020-11-01 17:03:01 UTC
+++ Makefile
@@ -129,7 +129,7 @@ endif 
 
 ### Output options ###
 
-LIBS = -lstdc++
+LIBS += -lX11 -lm
 
 ifeq ($(USE_BUNDLED_LIBBZ2),True)
 	LIBS += $(LIBDIR)/libbz2.a
@@ -298,7 +298,7 @@ ifneq ($(BUILD_WIN32),True)
 	$(INSTALL) -d "$(DESTDIR)"$(libdir)
 
 ifneq ($(BUILD_OSX),True)
-	$(INSTALL_DATA) $(DLLNAME) "$(DESTDIR)"$(libdir)/libsmooth-$(VERSION)$(SHARED).$(REVISION)
+	$(BSD_INSTALL_LIB) $(DLLNAME) "$(DESTDIR)"$(libdir)/libsmooth-$(VERSION)$(SHARED).$(REVISION)
 	$(LINK) -fs libsmooth-$(VERSION)$(SHARED).$(REVISION) "$(DESTDIR)"$(libdir)/libsmooth-$(VERSION)$(SHARED)
 
 ifeq ($(BUILD_V8),True)
@@ -324,7 +324,7 @@ endif
 endif
 
 	$(INSTALL) -d "$(DESTDIR)"$(bindir)
-	$(INSTALL_PROGRAM) $(BINDIR)/translator "$(DESTDIR)"$(bindir)/smooth-translator
+	$(BSD_INSTALL_PROGRAM) $(BINDIR)/translator "$(DESTDIR)"$(bindir)/smooth-translator
 
 	$(INSTALL) -d "$(DESTDIR)"$(includedir)
 	$(COPY) -r "$(SRCDIR)"/include/smooth "$(DESTDIR)"$(includedir)