diff options
Diffstat (limited to 'sysutils/xnc/patches/patch-ag')
-rw-r--r-- | sysutils/xnc/patches/patch-ag | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/sysutils/xnc/patches/patch-ag b/sysutils/xnc/patches/patch-ag new file mode 100644 index 00000000000..97b0cdd23ba --- /dev/null +++ b/sysutils/xnc/patches/patch-ag @@ -0,0 +1,41 @@ +$NetBSD: patch-ag,v 1.1.1.1 2001/09/17 05:40:06 zuntum Exp $ + +--- plugins/five/makefile.in.orig Tue Mar 13 19:05:52 2001 ++++ plugins/five/makefile.in +@@ -18,6 +18,11 @@ + + @MCOMMON@ + ++CXX = $(LIBTOOL) --mode=compile $(CC) ++ ++.c.o: ++ $(CXX) -c $(CXXINCLUDES) $(INCLUDES) $(CXXOPT) $< ++ + PLUGINFLAGS=$(SHAREFLAGS) + + IOBJS =fiveplugin.o fivegeom.o fivefuncs.o fiveskin.o fivegui.o \ +@@ -25,9 +30,12 @@ + CXXINCLUDES=$(XINC) -I../../image -I../../xbitmaps -I../.. -I../common -I../../ftplib + CXXOPT=$(DEFS) $(DEB) $(CFLAGS) + +-PROGRAM =libxncfive.so ++#PROGRAM =libxncfive.so ++PROGRAM = libxncfive.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 +@@ -87,7 +95,8 @@ + + + install: +- ./xncsetup ++# ./xncsetup ++ $(LIBTOOL) --mode=install $(INSTALL_DATA) $(PROGRAM:.a=.la) $(INSTPLUG) + + uninstall: + #Uninstalling IVES.. |