Files
bsdports/net/asterisk11/files/patch-main__Makefile
2019-12-26 07:26:06 +00:00

37 lines
1.1 KiB
Plaintext

--- main/Makefile.orig 2015-03-12 12:26:57 UTC
+++ main/Makefile
@@ -76,6 +76,7 @@ ifeq ($(OSARCH),FreeBSD)
BSDVERSION=$(shell make -V OSVERSION -f /usr/share/mk/bsd.port.subdir.mk)
AST_LIBS+=$(shell if test $(BSDVERSION) -lt 502102 ; then echo "-lc_r"; else echo "-pthread"; fi)
AST_LIBS+=-lcrypto
+ AST_LIBS+=-lsysinfo
endif
ifneq ($(findstring $(OSARCH), mingw32 cygwin ),)
@@ -218,9 +219,9 @@ ifeq ($(GNU_LD),1)
endif
$(ECHO_PREFIX) echo " [LD] $^ -> $@"
$(CMD_PREFIX) $(CC) $(STATIC_BUILD) -o $@ $(CC_LDFLAGS_SO) $^ $(CC_LIBS)
-ifneq ($(LDCONFIG),)
- $(LDCONFIG) $(LDCONFIG_FLAGS) .
-endif
+#ifneq ($(LDCONFIG),)
+# $(LDCONFIG) $(LDCONFIG_FLAGS) .
+#endif
$(ASTSSL_LIB): $(ASTSSL_LIB).$(ASTSSL_SO_VERSION)
$(LN) -sf $< $@
@@ -269,9 +270,9 @@ ifeq ($(findstring darwin,$(OSARCH)),) #
else # Darwin
$(INSTALL) -m 755 $(ASTSSL_LIB) "$(DESTDIR)$(ASTLIBDIR)/"
endif
-ifneq ($(LDCONFIG),)
- $(LDCONFIG) $(LDCONFIG_FLAGS) "$(DESTDIR)$(ASTLIBDIR)/"
-endif
+#ifneq ($(LDCONFIG),)
+# $(LDCONFIG) $(LDCONFIG_FLAGS) "$(DESTDIR)$(ASTLIBDIR)/"
+#endif
endif
$(LN) -sf asterisk "$(DESTDIR)$(ASTSBINDIR)/rasterisk"