]> git.pld-linux.org Git - packages/gpac.git/blob - gpac-install.patch
- rediff patches
[packages/gpac.git] / gpac-install.patch
1 --- gpac-0.7.1/applications/osmozilla/Makefile~ 2017-04-26 13:33:17.000000000 +0200
2 +++ gpac-0.7.1/applications/osmozilla/Makefile  2018-09-17 13:57:38.870996859 +0200
3 @@ -6,10 +6,6 @@ ifeq ($(CONFIG_WIN32),yes)
4  USER_NAME=root
5  else
6  USER_NAME=$(shell whoami)
7 -ifeq ($(USER_NAME), root)
8 -else
9 -MOZILLA_DIR=local
10 -endif
11  endif
12  
13  CFLAGS=$(CXXFLAGS) $(XUL_CFLAGS) -I"$(SRC_PATH)/include"
14 @@ -72,19 +68,8 @@ ifeq ($(CONFIG_WIN32),yes)
15  endif
16  
17  install: 
18 -ifeq ($(MOZILLA_DIR), local)
19 -ifeq ($(USER_NAME), root)
20 -       @echo "*** Root cannot install local mozilla plugins! ***"
21 -       @echo "*** Exit root mode and reinstall mozilla plugin! ***"
22 -else
23 -       $(MAKE) $(LIB)
24 -       $(INSTALL) -D -m 755 ../../bin/gcc/$(LIB) "$(HOME)/.mozilla/plugins/$(LIB)"
25 -       $(INSTALL) -D -m 755 ../../bin/gcc/nposmozilla.xpt "$(HOME)/.mozilla/components/nposmozilla.xpt"
26 -endif
27 -else
28         $(INSTALL) -D -m 755 ../../bin/gcc/$(LIB) "$(MOZILLA_DIR)/components/$(LIB)"
29         $(INSTALL) -D -m 755 ../../bin/gcc/nposmozilla.xpt "$(MOZILLA_DIR)/components/nposmozilla.xpt"
30 -endif
31  
32  uninstall:
33  ifeq ($(MOZILLA_DIR), local)
This page took 0.049635 seconds and 3 git commands to generate.