diff options
Diffstat (limited to 'comms/asterisk/patches/patch-main_Makefile')
-rw-r--r-- | comms/asterisk/patches/patch-main_Makefile | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/comms/asterisk/patches/patch-main_Makefile b/comms/asterisk/patches/patch-main_Makefile index 95665a959d2..1185a86186f 100644 --- a/comms/asterisk/patches/patch-main_Makefile +++ b/comms/asterisk/patches/patch-main_Makefile @@ -1,6 +1,6 @@ -$NetBSD: patch-main_Makefile,v 1.1 2012/12/11 08:22:49 jnemeth Exp $ +$NetBSD: patch-main_Makefile,v 1.2 2013/05/05 01:32:35 jnemeth Exp $ ---- main/Makefile.orig 2012-09-13 20:04:51.000000000 +0000 +--- main/Makefile.orig 2013-01-18 21:10:23.000000000 +0000 +++ main/Makefile @@ -89,6 +89,10 @@ ifeq ($(OSARCH),OpenBSD) AST_LIBS+=-lcrypto -lpthread -lm $(EDITLINE_LIB) @@ -23,24 +23,24 @@ $NetBSD: patch-main_Makefile,v 1.1 2012/12/11 08:22:49 jnemeth Exp $ $(ASTSSL_LIB): $(ASTSSL_LIB).$(ASTSSL_SO_VERSION) $(LN) -sf $< $@ -@@ -258,13 +259,10 @@ bininstall: +@@ -261,13 +262,13 @@ bininstall: $(INSTALL) -m 755 $(MAIN_TGT) "$(DESTDIR)$(ASTSBINDIR)/" ifeq ($(AST_ASTERISKSSL),yes) ifeq ($(findstring darwin,$(OSARCH)),) # not Darwin - $(INSTALL) -m 755 $(ASTSSL_LIB).$(ASTSSL_SO_VERSION) "$(DESTDIR)$(ASTLIBDIR)/" -- $(LN) -sf "$(DESTDIR)$(ASTLIBDIR)/$(ASTSSL_LIB).$(ASTSSL_SO_VERSION)" "$(DESTDIR)$(ASTLIBDIR)/$(ASTSSL_LIB)" +- $(LN) -sf $(ASTSSL_LIB).$(ASTSSL_SO_VERSION) "$(DESTDIR)$(ASTLIBDIR)/$(ASTSSL_LIB)" + $(INSTALL) -m 755 $(ASTSSL_LIB).$(ASTSSL_SO_VERSION) "$(DESTDIR)$(PREFIX)/lib/" -+ $(LN) -sf "$(DESTDIR)$(PREFIX)/lib/$(ASTSSL_LIB).$(ASTSSL_SO_VERSION)" "$(DESTDIR)$(PREFIX)/lib/$(ASTSSL_LIB)" ++ $(LN) -sf $(ASTSSL_LIB).$(ASTSSL_SO_VERSION) "$(DESTDIR)$(PREFIX)/lib/$(ASTSSL_LIB)" else # Darwin -- $(INSTALL) -m 755 $(ASTSSL_LIB) "$(DESTDIR)$(ASTLIBDIR)/" --endif --ifneq ($(LDCONFIG),) + $(INSTALL) -m 755 $(ASTSSL_LIB) "$(DESTDIR)$(ASTLIBDIR)/" + endif + ifneq ($(LDCONFIG),) - $(LDCONFIG) $(LDCONFIG_FLAGS) "$(DESTDIR)$(ASTLIBDIR)/" -+ $(INSTALL) -m 755 $(ASTSSL_LIB) "$(DESTDIR)$(PREFIX)/lib/" ++ $(LDCONFIG) $(LDCONFIG_FLAGS) "$(DESTDIR)$(PREFIX)/lib/" endif endif $(LN) -sf asterisk "$(DESTDIR)$(ASTSBINDIR)/rasterisk" -@@ -272,10 +270,7 @@ endif +@@ -275,10 +276,7 @@ endif binuninstall: rm -f "$(DESTDIR)$(ASTSBINDIR)/$(MAIN_TGT)" rm -f "$(DESTDIR)$(ASTSBINDIR)/rasterisk" |