summaryrefslogtreecommitdiff
path: root/polish/libgadu/files/patch-Makefile.in
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-07-28 17:09:47 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-07-28 17:09:47 +0000
commit122d8f93ec183b4b2eb5465eba1ff414c45be43e (patch)
treeacbba908f64e47c7a2a21f510358e22407d1c029 /polish/libgadu/files/patch-Makefile.in
parentMake polish/ekg not install libgadu.so and use the one provided with (diff)
- Add conflict with older versions of ekg to prevent overwrite of libgadu.so.
- hacked Makefile to install correct files instead of playing with them in post-install stage. Added file(s): - files/patch-Makefile.in PR: ports/99727 Submitted by: Marcin Wisnicki Approved by: maintainer timeout
Notes
Notes: svn path=/head/; revision=168974
Diffstat (limited to '')
-rw-r--r--polish/libgadu/files/patch-Makefile.in27
1 files changed, 27 insertions, 0 deletions
diff --git a/polish/libgadu/files/patch-Makefile.in b/polish/libgadu/files/patch-Makefile.in
new file mode 100644
index 000000000000..bf291c8e22e2
--- /dev/null
+++ b/polish/libgadu/files/patch-Makefile.in
@@ -0,0 +1,27 @@
+--- lib/Makefile.in.orig Sat Jun 25 08:41:07 2005
++++ lib/Makefile.in Sun Jul 2 19:41:00 2006
+@@ -27,7 +27,7 @@
+
+ SHAREDMM = libgadu.so
+ SHAREDM = $(SHAREDMM).$(VERSION_MAJOR)
+-SHARED = $(SHAREDM).$(VERSION_MINOR)
++SHARED = $(SHAREDM)
+ STATIC = libgadu.a
+
+ all: @static@ @shared@
+@@ -57,7 +57,6 @@
+
+ $(SHARED): $(LOBJS)
+ $(CC) -shared -Wl,-soname,libgadu.so.$(VERSION_MAJOR) -o $(SHARED) $(LOBJS) $(LIBS) -lc
+- $(LN_S) -f $(SHARED) $(SHAREDM)
+ $(LN_S) -f $(SHARED) $(SHAREDMM)
+
+ #
+@@ -82,7 +81,6 @@
+
+ install-shared: install-common @strip_libgadu_so@
+ $(INSTALL) -m 755 $(SHARED) $(DESTDIR)$(libdir)
+- cd $(DESTDIR)$(libdir) && $(LN_S) -f $(SHARED) $(SHAREDM)
+ cd $(DESTDIR)$(libdir) && $(LN_S) -f $(SHARED) $(SHAREDMM)
+
+ install-static: install-common