summaryrefslogtreecommitdiff
path: root/sys-libs/pwdb/files/pwdb-0.62-disable-static.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/pwdb/files/pwdb-0.62-disable-static.patch')
-rw-r--r--sys-libs/pwdb/files/pwdb-0.62-disable-static.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/sys-libs/pwdb/files/pwdb-0.62-disable-static.patch b/sys-libs/pwdb/files/pwdb-0.62-disable-static.patch
new file mode 100644
index 000000000000..a3395e169079
--- /dev/null
+++ b/sys-libs/pwdb/files/pwdb-0.62-disable-static.patch
@@ -0,0 +1,19 @@
+--- a/libpwdb/Makefile
++++ b/libpwdb/Makefile
+@@ -46,7 +46,7 @@
+ %.o : %.c $(HEADERS)
+ $(CC) $(CFLAGS) $(DYNAMIC) $(CPPFLAGS) $(TARGET_ARCH) -c $< -o $@
+
+-all: $(LIBSTATIC) $(LIBDYNAME)
++all: $(LIBDYNAME)
+
+
+ $(LIBDYNAME): $(LIBOBJ)
+@@ -70,7 +70,6 @@
+ $(INSTALL) -m 755 $(LIBFILENAME) $(LIBDIR)
+ ln -sf $(LIBFILENAME) $(LIBDIR)/$(LIBSONAME)
+ ln -sf $(LIBFILENAME) $(LIBDIR)/$(LIBDYNAME)
+- $(INSTALL) -m 644 $(LIBSTATIC) $(LIBDIR)
+
+ clean:
+ @rm -f *.so *.a core a.out `find . -name "*.o" -print` `find . -name "*~" -print`