aboutsummaryrefslogtreecommitdiffstats
path: root/www/plugger
diff options
context:
space:
mode:
authorcpiazza <cpiazza@FreeBSD.org>1999-06-26 06:35:25 +0800
committercpiazza <cpiazza@FreeBSD.org>1999-06-26 06:35:25 +0800
commitbdcd7f316c4b5d854f5490b69e15307ef1ea3b43 (patch)
tree6adcc5db99335609079072ce33c797005e80edb3 /www/plugger
parent3ba4ffb480ba854cee9e7e4d5d61b3c42e11ec0f (diff)
downloadfreebsd-ports-gnome-bdcd7f316c4b5d854f5490b69e15307ef1ea3b43.tar.gz
freebsd-ports-gnome-bdcd7f316c4b5d854f5490b69e15307ef1ea3b43.tar.zst
freebsd-ports-gnome-bdcd7f316c4b5d854f5490b69e15307ef1ea3b43.zip
Oops, change it so it compiles an aout plugin so it will actually work.
(Damn you Netscape)
Diffstat (limited to 'www/plugger')
-rw-r--r--www/plugger/files/patch-aa48
1 files changed, 41 insertions, 7 deletions
diff --git a/www/plugger/files/patch-aa b/www/plugger/files/patch-aa
index 66c434a2b337..71753807c2a9 100644
--- a/www/plugger/files/patch-aa
+++ b/www/plugger/files/patch-aa
@@ -1,18 +1,52 @@
---- Makefile.orig Mon Feb 15 10:14:46 1999
-+++ Makefile Mon Feb 15 10:14:24 1999
-@@ -1,5 +1,5 @@
+--- Makefile.orig Wed Jan 6 21:43:26 1999
++++ Makefile Fri Jun 25 15:29:30 1999
+@@ -1,12 +1,12 @@
# Where is your Plugin Source Development Kit from Netscape?
-SDK=/home/hubbe/src/PluginSDK30b5
+SDK=../PluginSDK30b5
# Where is your Xwindows located?
- X11=/usr/X11/
-@@ -40,6 +40,8 @@
+-X11=/usr/X11/
++X11=${X11BASE}
+ # Linux
+-CC=gcc -fpic
+-LD=gcc -shared
++#CC=gcc -fpic
++#LD=gcc -shared
+
+ # Solaris
+ #CC=gcc -fpic
+@@ -18,8 +18,8 @@
+ #LD=ld -shared
+
+ # FreeBSD (a.out netscape)
+-#CC=gcc -fpic -aout
+-#LD=gcc -shared -aout
++CC=gcc -fpic -aout
++LD=gcc -shared -aout
+
+ # For other systems, look at the example makefiles in the
+ # PluginSDK30b5/examples/UnixTemplate/Unix directory
+@@ -41,6 +41,8 @@
DEFINES=$(STREAM) -DVERSION=\"$(VERSION)\" # -DDEBUG # -DPLUGIN_TRACE
CFLAGS=-O -I$(SDK)/include -I$(X11)/include -DXP_UNIX $(DEFINES)
-+
-+all: $(BIN_FILES)
++all: $(BIN_FILES)
++
plugger.so: plugger.o common.o
$(LD) -o plugger.so plugger.o common.o
+
+@@ -61,9 +63,9 @@
+ if [ ! -f $$HOME/.netscape/pluggerrc ]; then cp pluggerrc $$HOME/.netscape ; fi
+
+ install: plugger.so
+- cp plugger.so /usr/local/lib/netscape/plugins/
+- if [ ! -f /etc/pluggerrc ]; then cp pluggerrc /etc/ ; fi
+- cp plugger.7 /usr/local/man/man7/
++ cp plugger.so ${PREFIX}/lib/netscape/plugins/
++ if [ ! -f ${PREFIX}/etc/pluggerrc.sample ]; then cp pluggerrc ${PREFIX}/etc/pluggerrc.sample ; fi
++ cp plugger.7 ${PREFIX}/man/man7/
+
+ plugger-$(VERSION).tar.gz: $(BASE_FILES) $(SOURCE_FILES)
+ ( DIR=`pwd`;\