aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-07-09 16:30:31 +0800
committersobomax <sobomax@FreeBSD.org>2002-07-09 16:30:31 +0800
commit307f1abf15ac34adf8b4db903b58662cf5b4ef68 (patch)
treecb6cf7fb1775ca59b85d7477d272930fe17c3abd
parent120d2bc6d1f7d0338b29b32b3baafe86a162cc35 (diff)
downloadfreebsd-ports-gnome-307f1abf15ac34adf8b4db903b58662cf5b4ef68.tar.gz
freebsd-ports-gnome-307f1abf15ac34adf8b4db903b58662cf5b4ef68.tar.zst
freebsd-ports-gnome-307f1abf15ac34adf8b4db903b58662cf5b4ef68.zip
Make shared library installed by the port comply with ELF conventions for
naming shared libraries, i.e. shared library should be named lobfoo.so.X, not just libfoo.so. Among other things, it allows other ports use mnogosearch in LIB_DEPENDS. Bump PORTREVISION. Reported by: Alexander Kovalenko <never@nevermind.kiev.ua> Approved by: maintainer's timeout
-rw-r--r--www/mnogosearch/Makefile1
-rw-r--r--www/mnogosearch/files/patch-ab18
-rw-r--r--www/mnogosearch/pkg-plist5
-rw-r--r--www/mnogosearch31/Makefile1
-rw-r--r--www/mnogosearch31/files/patch-ab18
-rw-r--r--www/mnogosearch31/pkg-plist5
6 files changed, 36 insertions, 12 deletions
diff --git a/www/mnogosearch/Makefile b/www/mnogosearch/Makefile
index d5ec54d44cf1..0757baeb60d1 100644
--- a/www/mnogosearch/Makefile
+++ b/www/mnogosearch/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mnogosearch
PORTVERSION= 3.1.20
+PORTREVISION= 1
CATEGORIES= www databases
MASTER_SITES= http://www.mnogosearch.org/Download/
diff --git a/www/mnogosearch/files/patch-ab b/www/mnogosearch/files/patch-ab
index 47b44dcb36d3..6969705dd615 100644
--- a/www/mnogosearch/files/patch-ab
+++ b/www/mnogosearch/files/patch-ab
@@ -1,6 +1,18 @@
---- src/Makefile.in.orig Wed Jan 24 19:08:48 2001
-+++ src/Makefile.in Sat Jan 27 19:43:13 2001
-@@ -261,8 +261,8 @@
+
+$FreeBSD$
+
+--- src/Makefile.in.orig Thu Jun 27 13:20:28 2002
++++ src/Makefile.in Tue Jul 9 11:20:40 2002
+@@ -131,7 +131,7 @@
+ libudmsearch_la_SOURCES = indexer.c parseurl.c charset.c parser.c sql.c spell.c log.c proto.c udmutils.c robots.c hrefs.c mutex.c conf.c files.c crc32.c parsedate.c ftp.c socket.c host.c udmxmalloc.c http.c id3.c cache.c boolean.c searchtool.c server.c alias.c filter.c env.c mimetype.c agent.c word.c parsehtml.c stopwords.c execget.c crossword.c
+
+
+-libudmsearch_la_LDFLAGS = -release 3.1
++libudmsearch_la_LDFLAGS = -version-info 1:0:0
+
+ include_HEADERS = ../include/udm_charset.h ../include/udm_common.h ../include/udm_conf.h ../include/udm_config.h ../include/udm_db.h ../include/udm_hrefs.h ../include/udm_indexer.h ../include/udm_log.h ../include/udm_parseurl.h ../include/udm_spell.h ../include/udm_mutex.h ../include/udm_utils.h ../include/udmsearch.h ../include/udm_search_tl.h ../include/udm_ftp.h ../include/udm_socket.h ../include/udm_host.h ../include/udm_xmalloc.h ../include/udm_id3.h ../include/udm_http.h ../include/udm_crc32.h ../include/udm_http.h ../include/udm_cache.h ../include/udm_boolean.h ../include/udm_server.h ../include/udm_searchtool.h ../include/udm_alias.h ../include/udm_filter.h ../include/udm_env.h ../include/udm_mimetype.h ../include/udm_agent.h ../include/udm_word.h ../include/udm_parsehtml.h ../include/udm_stopwords.h ../include/udm_parser.h ../include/udm_proto.h ../include/udm_robots.h ../include/udm_signals.h ../include/udm_execget.h ../include/udm_services.h
+
+@@ -275,8 +275,8 @@
$(mkinstalldirs) $(DESTDIR)$(bindir)
@list='$(bin_PROGRAMS)'; for p in $$list; do \
if test -f $$p; then \
diff --git a/www/mnogosearch/pkg-plist b/www/mnogosearch/pkg-plist
index 1a9f5641d6be..45ecfeef3963 100644
--- a/www/mnogosearch/pkg-plist
+++ b/www/mnogosearch/pkg-plist
@@ -42,9 +42,8 @@ include/udm_word.h
include/udm_xmalloc.h
include/udmsearch.h
lib/libudmsearch.a
-lib/libudmsearch-3.1.so
-@exec ln -sf %f %B/libudmsearch.so
-@unexec rm -f %B/libudmsearch.so
+lib/libudmsearch.so
+lib/libudmsearch.so.1
sbin/cachelogd
sbin/indexer
sbin/run-splitter
diff --git a/www/mnogosearch31/Makefile b/www/mnogosearch31/Makefile
index d5ec54d44cf1..0757baeb60d1 100644
--- a/www/mnogosearch31/Makefile
+++ b/www/mnogosearch31/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mnogosearch
PORTVERSION= 3.1.20
+PORTREVISION= 1
CATEGORIES= www databases
MASTER_SITES= http://www.mnogosearch.org/Download/
diff --git a/www/mnogosearch31/files/patch-ab b/www/mnogosearch31/files/patch-ab
index 47b44dcb36d3..6969705dd615 100644
--- a/www/mnogosearch31/files/patch-ab
+++ b/www/mnogosearch31/files/patch-ab
@@ -1,6 +1,18 @@
---- src/Makefile.in.orig Wed Jan 24 19:08:48 2001
-+++ src/Makefile.in Sat Jan 27 19:43:13 2001
-@@ -261,8 +261,8 @@
+
+$FreeBSD$
+
+--- src/Makefile.in.orig Thu Jun 27 13:20:28 2002
++++ src/Makefile.in Tue Jul 9 11:20:40 2002
+@@ -131,7 +131,7 @@
+ libudmsearch_la_SOURCES = indexer.c parseurl.c charset.c parser.c sql.c spell.c log.c proto.c udmutils.c robots.c hrefs.c mutex.c conf.c files.c crc32.c parsedate.c ftp.c socket.c host.c udmxmalloc.c http.c id3.c cache.c boolean.c searchtool.c server.c alias.c filter.c env.c mimetype.c agent.c word.c parsehtml.c stopwords.c execget.c crossword.c
+
+
+-libudmsearch_la_LDFLAGS = -release 3.1
++libudmsearch_la_LDFLAGS = -version-info 1:0:0
+
+ include_HEADERS = ../include/udm_charset.h ../include/udm_common.h ../include/udm_conf.h ../include/udm_config.h ../include/udm_db.h ../include/udm_hrefs.h ../include/udm_indexer.h ../include/udm_log.h ../include/udm_parseurl.h ../include/udm_spell.h ../include/udm_mutex.h ../include/udm_utils.h ../include/udmsearch.h ../include/udm_search_tl.h ../include/udm_ftp.h ../include/udm_socket.h ../include/udm_host.h ../include/udm_xmalloc.h ../include/udm_id3.h ../include/udm_http.h ../include/udm_crc32.h ../include/udm_http.h ../include/udm_cache.h ../include/udm_boolean.h ../include/udm_server.h ../include/udm_searchtool.h ../include/udm_alias.h ../include/udm_filter.h ../include/udm_env.h ../include/udm_mimetype.h ../include/udm_agent.h ../include/udm_word.h ../include/udm_parsehtml.h ../include/udm_stopwords.h ../include/udm_parser.h ../include/udm_proto.h ../include/udm_robots.h ../include/udm_signals.h ../include/udm_execget.h ../include/udm_services.h
+
+@@ -275,8 +275,8 @@
$(mkinstalldirs) $(DESTDIR)$(bindir)
@list='$(bin_PROGRAMS)'; for p in $$list; do \
if test -f $$p; then \
diff --git a/www/mnogosearch31/pkg-plist b/www/mnogosearch31/pkg-plist
index 1a9f5641d6be..45ecfeef3963 100644
--- a/www/mnogosearch31/pkg-plist
+++ b/www/mnogosearch31/pkg-plist
@@ -42,9 +42,8 @@ include/udm_word.h
include/udm_xmalloc.h
include/udmsearch.h
lib/libudmsearch.a
-lib/libudmsearch-3.1.so
-@exec ln -sf %f %B/libudmsearch.so
-@unexec rm -f %B/libudmsearch.so
+lib/libudmsearch.so
+lib/libudmsearch.so.1
sbin/cachelogd
sbin/indexer
sbin/run-splitter