diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-01-06 04:09:36 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-01-06 04:09:36 +0000 |
commit | a2475db7219acb98a007c0b8ffa67b1723af21ed (patch) | |
tree | 16d00a313c944c25e5f083cbd69004634653bfd0 /net/icqlib0 | |
parent | Quick hacks to catch this port up with FreeBSD, namely the upgrade (diff) |
The trick of installing icqlib.so as icqlib0.so was not fooling
libtool. The installed libs were unusable. Added a patch to
have it build the correct library.
Also, updated the pkg-comment to a more specific message.
Diffstat (limited to 'net/icqlib0')
-rw-r--r-- | net/icqlib0/Makefile | 12 | ||||
-rw-r--r-- | net/icqlib0/files/patch-aa | 59 | ||||
-rw-r--r-- | net/icqlib0/pkg-comment | 2 |
3 files changed, 62 insertions, 11 deletions
diff --git a/net/icqlib0/Makefile b/net/icqlib0/Makefile index c78d1b452b3e..12f6454deb6b 100644 --- a/net/icqlib0/Makefile +++ b/net/icqlib0/Makefile @@ -7,6 +7,7 @@ PORTNAME= icqlib PORTVERSION= 0.1.3 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -17,16 +18,7 @@ USE_GMAKE= yes USE_LIBTOOL= yes INSTALLS_SHLIB= yes -LIB_VERSION= 1 - -do-install: - ${INSTALL_DATA} ${WRKSRC}/icqlib/.libs/libicq.so.${LIB_VERSION} \ - ${PREFIX}/lib/libicq0.so.${LIB_VERSION} - ${INSTALL_DATA} ${WRKSRC}/icqlib/.libs/libicq.a \ - ${PREFIX}/lib/libicq0.a - ${INSTALL_DATA} ${WRKSRC}/icqlib/icq.h ${PREFIX}/include/icq0.h - post-install: - ${LN} -sf libicq0.so.${LIB_VERSION} ${PREFIX}/lib/libicq0.so + ${INSTALL_DATA} ${WRKSRC}/icqlib/icq.h ${PREFIX}/include/icq0.h .include <bsd.port.mk> diff --git a/net/icqlib0/files/patch-aa b/net/icqlib0/files/patch-aa new file mode 100644 index 000000000000..13e321a502ed --- /dev/null +++ b/net/icqlib0/files/patch-aa @@ -0,0 +1,59 @@ +--- icqlib/Makefile.in.orig Sat Jan 6 00:53:19 2001 ++++ icqlib/Makefile.in Sat Jan 6 00:59:12 2001 +@@ -68,11 +68,11 @@ + PACKAGE = @PACKAGE@ + RANLIB = @RANLIB@ + +-lib_LTLIBRARIES = libicq.la ++lib_LTLIBRARIES = libicq0.la + +-libicq_la_SOURCES = icqlib.c ++libicq0_la_SOURCES = icqlib.c + +-libicq_la_LDFLAGS = -version-info 1:3:1 ++libicq0_la_LDFLAGS = -version-info 1:3:1 + include_HEADERS = icq.h + noinst_HEADERS = icqlib.h + +@@ -88,8 +88,8 @@ + CPPFLAGS = @CPPFLAGS@ + LDFLAGS = @LDFLAGS@ + LIBS = @LIBS@ +-libicq_la_LIBADD = +-libicq_la_OBJECTS = icqlib.lo ++libicq0_la_LIBADD = ++libicq0_la_OBJECTS = icqlib.lo + CFLAGS = @CFLAGS@ + COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) + LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) +@@ -103,8 +103,8 @@ + + TAR = tar + GZIP = --best +-SOURCES = $(libicq_la_SOURCES) +-OBJECTS = $(libicq_la_OBJECTS) ++SOURCES = $(libicq0_la_SOURCES) ++OBJECTS = $(libicq0_la_OBJECTS) + + all: Makefile $(LTLIBRARIES) $(HEADERS) + +@@ -181,8 +181,8 @@ + + maintainer-clean-libtool: + +-libicq.la: $(libicq_la_OBJECTS) $(libicq_la_DEPENDENCIES) +- $(LINK) -rpath $(libdir) $(libicq_la_LDFLAGS) $(libicq_la_OBJECTS) $(libicq_la_LIBADD) $(LIBS) ++libicq0.la: $(libicq0_la_OBJECTS) $(libicq0_la_DEPENDENCIES) ++ $(LINK) -rpath $(libdir) $(libicq0_la_LDFLAGS) $(libicq0_la_OBJECTS) $(libicq0_la_LIBADD) $(LIBS) + + install-includeHEADERS: $(include_HEADERS) + @$(NORMAL_INSTALL) +@@ -245,7 +245,7 @@ + install-exec: install-libLTLIBRARIES + @$(NORMAL_INSTALL) + +-install-data: install-includeHEADERS ++install-data: + @$(NORMAL_INSTALL) + + install: install-exec install-data all diff --git a/net/icqlib0/pkg-comment b/net/icqlib0/pkg-comment index 5f664ea4c99f..e71cb7709634 100644 --- a/net/icqlib0/pkg-comment +++ b/net/icqlib0/pkg-comment @@ -1 +1 @@ -An old version of the library required by kicq (required by icqmail) +Old branch 0.x.x of library required by kicq (used by icqmail) |