aboutsummaryrefslogtreecommitdiffstats
path: root/www/plugger
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2005-02-14 21:55:47 +0800
committersem <sem@FreeBSD.org>2005-02-14 21:55:47 +0800
commit2b591aac348d2631b480b1983f30e9e51085213d (patch)
tree9ec13b835c8ab502c74b1823f853435183bcde00 /www/plugger
parent7dbdee0c1518b627500afec9e6a2e010c7704030 (diff)
downloadfreebsd-ports-gnome-2b591aac348d2631b480b1983f30e9e51085213d.tar.gz
freebsd-ports-gnome-2b591aac348d2631b480b1983f30e9e51085213d.tar.zst
freebsd-ports-gnome-2b591aac348d2631b480b1983f30e9e51085213d.zip
- look for conf file in ${PREFIX}/etc/ and not in fixed locations
out of ${HOME} or ${PREFIX} PR: ports/71916 Submitted by: Jose M Rodriguez <josemi(at)freebsd.jazztel.es>
Diffstat (limited to 'www/plugger')
-rw-r--r--www/plugger/files/patch-Makefile.in13
-rw-r--r--www/plugger/files/patch-plugger.c19
2 files changed, 30 insertions, 2 deletions
diff --git a/www/plugger/files/patch-Makefile.in b/www/plugger/files/patch-Makefile.in
index a59f503195e9..0d7422fefb80 100644
--- a/www/plugger/files/patch-Makefile.in
+++ b/www/plugger/files/patch-Makefile.in
@@ -1,5 +1,5 @@
---- Makefile.in.orig Wed Jul 7 03:13:00 2004
-+++ Makefile.in Wed Jul 7 03:21:47 2004
+--- Makefile.in.orig Sun May 16 01:02:46 2004
++++ Makefile.in Fri Sep 10 15:03:17 2004
@@ -30,7 +30,7 @@
CC=@CC@
LD=@LD@
@@ -27,3 +27,12 @@
all: plugger.so plugger-$(VERSION) plugger-controller
+@@ -132,7 +132,7 @@
+ plugger-helper.o: plugger.h
+
+ plugger.o: plugger.c plugger.h
+- $(CC) -c $(SHARED_CFLAGS) -o plugger.o plugger.c
++ $(CC) -c $(SHARED_CFLAGS) -DSYSCONFDIR=\"$(prefix)/etc\" -o plugger.o plugger.c
+
+ plugger-common.o: plugger-common.c plugger.h
+ $(CC) -c $(SHARED_CFLAGS) -o plugger-common.o plugger-common.c
diff --git a/www/plugger/files/patch-plugger.c b/www/plugger/files/patch-plugger.c
new file mode 100644
index 000000000000..3bd90e6c9c05
--- /dev/null
+++ b/www/plugger/files/patch-plugger.c
@@ -0,0 +1,19 @@
+--- plugger.c.orig Fri Sep 10 14:42:03 2004
++++ plugger.c Fri Sep 10 15:00:52 2004
+@@ -624,16 +624,6 @@
+ if(cb(fname, data)) return 1;
+ #endif
+
+- sprintf(fname,"/usr/local/netscape/%s",basename);
+- if(cb(fname, data)) return 1;
+- sprintf(fname,"/etc/%s",basename);
+- if(cb(fname, data)) return 1;
+- sprintf(fname,"/usr/etc/%s",basename);
+- if(cb(fname, data)) return 1;
+- sprintf(fname,"/usr/local/etc/%s",basename);
+- if(cb(fname, data)) return 1;
+- if(cb(basename, data)) return 1;
+-
+ return 0;
+ }
+