diff options
Diffstat (limited to 'sysutils/xnc/patches/patch-ah')
-rw-r--r-- | sysutils/xnc/patches/patch-ah | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/sysutils/xnc/patches/patch-ah b/sysutils/xnc/patches/patch-ah new file mode 100644 index 00000000000..11956378a0e --- /dev/null +++ b/sysutils/xnc/patches/patch-ah @@ -0,0 +1,41 @@ +$NetBSD: patch-ah,v 1.1.1.1 2001/09/17 05:40:06 zuntum Exp $ + +--- plugins/aqua/makefile.in.orig Tue Mar 13 19:05:49 2001 ++++ plugins/aqua/makefile.in +@@ -18,6 +18,11 @@ + + @MCOMMON@ + ++CXX = $(LIBTOOL) --mode=compile $(CC) ++ ++.c.o: ++ $(CXX) -c $(CXXINCLUDES) $(INCLUDES) $(CXXOPT) $< ++ + PLUGINFLAGS=$(SHAREFLAGS) + + IOBJS =aquaplugin.o aquagui.o aquafuncs.o aquageom.o aquapanel.o\ +@@ -25,9 +30,12 @@ + CXXINCLUDES=$(XINC) -I../../image -I../../xbitmaps -I../.. -I../common -I../../ftplib + CXXOPT=$(DEFS) $(DEB) $(CFLAGS) + +-PROGRAM =libxncaqua.so ++#PROGRAM =libxncaqua.so ++PROGRAM = libxncaqua.a + +-all:: $(PROGRAM) ++#all:: $(PROGRAM) ++all: $(IOBJS) ++ $(LIBTOOL) $(CC) -module -avoid-version -o $(PROGRAM:.a=.la) $(IOBJS:.o=.lo) -rpath $(INSTPLUG) + + + ../gui.o: ../gui.cxx +@@ -86,7 +94,8 @@ + + + install: +- ./xncsetup ++# ./xncsetup ++ $(LIBTOOL) --mode=install $(INSTALL_DATA) $(PROGRAM:.a=.la) $(INSTPLUG) + + uninstall: + $(RM) -f $(PROGRAM) |