]> git.pld-linux.org Git - packages/gpac.git/blame - gpac-install.patch
- rediff patches
[packages/gpac.git] / gpac-install.patch
CommitLineData
ebe39204
AM
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)
13701c20 4 USER_NAME=root
e0dfbd5a 5 else
84d02762 6 USER_NAME=$(shell whoami)
7-ifeq ($(USER_NAME), root)
8-else
9-MOZILLA_DIR=local
10-endif
13701c20 11 endif
84d02762 12
ebe39204
AM
13 CFLAGS=$(CXXFLAGS) $(XUL_CFLAGS) -I"$(SRC_PATH)/include"
14@@ -72,19 +68,8 @@ ifeq ($(CONFIG_WIN32),yes)
e0dfbd5a 15 endif
84d02762 16
13701c20 17 install:
84d02762 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
13701c20 23- $(MAKE) $(LIB)
bdb13b9e
AM
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"
84d02762 26-endif
27-else
ebe39204
AM
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"
84d02762 30-endif
84d02762 31
13701c20
JB
32 uninstall:
33 ifeq ($(MOZILLA_DIR), local)
This page took 0.081917 seconds and 4 git commands to generate.