diff options
author | itetcu <itetcu@FreeBSD.org> | 2006-07-29 01:09:47 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2006-07-29 01:09:47 +0800 |
commit | 2b96903fc04aa62d05eff8f8e5196587f8166cb7 (patch) | |
tree | cc5ff29d9cf5f8de0ae9a1b33bc11663ffffa0bc /polish | |
parent | 465d8bd1ab2314d436cc1d8dd860e14a1fe9e783 (diff) | |
download | freebsd-ports-gnome-2b96903fc04aa62d05eff8f8e5196587f8166cb7.tar.gz freebsd-ports-gnome-2b96903fc04aa62d05eff8f8e5196587f8166cb7.tar.zst freebsd-ports-gnome-2b96903fc04aa62d05eff8f8e5196587f8166cb7.zip |
- 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
Diffstat (limited to 'polish')
-rw-r--r-- | polish/libgadu/Makefile | 9 | ||||
-rw-r--r-- | polish/libgadu/files/patch-Makefile.in | 27 |
2 files changed, 30 insertions, 6 deletions
diff --git a/polish/libgadu/Makefile b/polish/libgadu/Makefile index 8aec406b1c9d..d220275faf7f 100644 --- a/polish/libgadu/Makefile +++ b/polish/libgadu/Makefile @@ -6,13 +6,15 @@ PORTNAME= libgadu PORTVERSION= 20051229 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= polish net MASTER_SITES= http://bsdguru.org/distfiles/ MAINTAINER= alex@BSDGuru.org COMMENT= This library is used by many IMs with Gadu-Gadu support +CONFLICTS= pl-ekg-1.[0-5]* pl-ekg-1.6,2 + USE_GMAKE= yes USE_GNOME= gnomehack pkgconfig USE_AUTOTOOLS= aclocal:15 autoheader:259 autoconf:259 @@ -22,9 +24,4 @@ CONFIGURE_ARGS= --enable-shared --disable-static --without-openssl INSTALLS_SHLIB= yes -post-install: - ${RM} ${PREFIX}/lib/libgadu.so ${PREFIX}/lib/libgadu.so.3 - ${MV} ${PREFIX}/lib/libgadu.so.3.3 ${PREFIX}/lib/libgadu.so.3 - ${LN} -s ${PREFIX}/lib/libgadu.so.3 ${PREFIX}/lib/libgadu.so - .include <bsd.port.mk> 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 |