aboutsummaryrefslogtreecommitdiff
path: root/graphics/libwmf
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>2000-05-29 02:24:39 +0000
committerChris Piazza <cpiazza@FreeBSD.org>2000-05-29 02:24:39 +0000
commitfd7636eb2a2c9ca84b31336fba50929e7ad58cc3 (patch)
treed796f24a0d368ee38ea262481cb623f5369c9213 /graphics/libwmf
parentc6a24ad5523666fcac8e3338624196735a693861 (diff)
downloadports-fd7636eb2a2c9ca84b31336fba50929e7ad58cc3.tar.gz
ports-fd7636eb2a2c9ca84b31336fba50929e7ad58cc3.zip
Notes
Diffstat (limited to 'graphics/libwmf')
-rw-r--r--graphics/libwmf/files/patch-ac43
-rw-r--r--graphics/libwmf/files/patch-ad46
2 files changed, 89 insertions, 0 deletions
diff --git a/graphics/libwmf/files/patch-ac b/graphics/libwmf/files/patch-ac
new file mode 100644
index 000000000000..b024145094e5
--- /dev/null
+++ b/graphics/libwmf/files/patch-ac
@@ -0,0 +1,43 @@
+--- libxfig/Makefile.in.orig Tue Jul 13 10:16:20 1999
++++ libxfig/Makefile.in Fri May 26 01:11:08 2000
+@@ -28,22 +28,29 @@
+
+ SHELL = /bin/sh
+
+-.SUFFIXES: .C .o
++.SUFFIXES: .c .o .so
+
+ MYOBJECTS = \
+ color.o \
+ objlist.o \
+ fileops.o
+
+-all: libxfig.a
++all: libxfig.a libxfig.so.0
+
+ libxfig.a: $(MYOBJECTS)
+ $(AR) rc libxfig.a $(MYOBJECTS)
+ $(RANLIB) libxfig.a
+
++libxfig.so.0: $(MYOBJECTS:S/o$/so/g)
++ $(CC) -shared -Wl,-x -Wl,-assert -Wl,pure-text -Wl,-soname,$@ -o $@ $(MYOBJECTS:S/o$/so/g) $(LIBS)
++ ln -sf libxfig.so.0 libxfig.so
++
+ %.o: %.c
+ $(CC) $(CFLAGS) -c $*.c
+
++.c.so:
++ $(CC) -fpic -DPIC $(CFLAGS) -c $(.IMPSRC) -o $(.TARGET)
++
+ clean:
+ rm -rf *.o *.a core
+
+@@ -52,6 +59,8 @@
+
+ install: all installdirs
+ $(INSTALL_DATA) libxfig.a @libdir@/libxfig.a
++ $(INSTALL_DATA) libxfig.so.0 @libdir@/libxfig.so.0
++ ln -sf libxfig.so.0 @libdir@/libxfig.so
+
+ installdirs:
+ $(MKINSTALLDIRS) @libdir@ \
diff --git a/graphics/libwmf/files/patch-ad b/graphics/libwmf/files/patch-ad
new file mode 100644
index 000000000000..1071fe4f9616
--- /dev/null
+++ b/graphics/libwmf/files/patch-ad
@@ -0,0 +1,46 @@
+--- libdib/Makefile.in.orig Tue Jul 13 10:14:28 1999
++++ libdib/Makefile.in Fri May 26 01:36:43 2000
+@@ -28,25 +28,32 @@
+
+ SHELL = /bin/sh
+
+-.SUFFIXES: .C .o
++.SUFFIXES: .c .o .so
+
+ MYOBJECTS = \
+ bytelevel.o \
+ bintree.o \
+ dibtoxpm.o
+
+-all: libdib.a test_dibtoxpm
++all: libdib.a libdib.so.0 test_dibtoxpm
+
+ libdib.a: $(MYOBJECTS)
+ $(AR) rc libdib.a $(MYOBJECTS)
+ $(RANLIB) libdib.a
+
++libdib.so.0: $(MYOBJECTS:S/o$/so/g)
++ $(CC) -shared -Wl,-x -Wl,-assert -Wl,pure-text -Wl,-soname,$@ -o $@ $(MYOBJECTS:S/o$/so/g) $(LIBS)
++ ln -sf libdib.so.0 libdib.so
++
+ test_dibtoxpm: libdib.a test_dibtoxpm.o
+ $(CC) $(LDFLAGS) -o test_dibtoxpm test_dibtoxpm.o -ldib
+
+ %.o: %.c
+ $(CC) $(CFLAGS) -c $*.c
+
++.c.so:
++ $(CC) -fpic -DPIC $(CFLAGS) -c $(.IMPSRC) -o $(.TARGET)
++
+ clean:
+ rm -rf *.o *.a test_dibtoxpm a.out core
+
+@@ -60,6 +67,8 @@
+ install: all installdirs
+ $(INSTALL_DATA) dibtoxpm.h $(INCLUDEDIR)/dibtoxpm.h
+ $(INSTALL_DATA) libdib.a @libdir@/libdib.a
++ $(INSTALL_DATA) libdib.so.0 @libdir@/libdib.so.0
++ ln -sf libdib.so.0 @libdir@/libdib.so
+
+
+ # DO NOT DELETE THIS LINE -- make depend depends on it.