SHARED_LIBS
help naddy@
This commit is contained in:
parent
94299b33dc
commit
c89e8b36c4
@ -1,7 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.7 2005/06/01 20:02:47 jolan Exp $
|
||||
# $OpenBSD: Makefile,v 1.8 2005/12/30 22:19:10 steven Exp $
|
||||
|
||||
COMMENT= "simple network library"
|
||||
DISTNAME= gnet-2.0.4
|
||||
SHARED_LIBS= gnet-2.0 0.4
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ${HOMEPAGE}src/
|
||||
|
||||
|
@ -1,55 +0,0 @@
|
||||
$OpenBSD: patch-ltmain_sh,v 1.1.1.1 2003/05/23 21:26:46 jolan Exp $
|
||||
--- ltmain.sh.orig Mon Apr 28 22:00:42 2003
|
||||
+++ ltmain.sh Fri May 23 01:39:19 2003
|
||||
@@ -4306,8 +4306,8 @@ relink_command=\"$relink_command\""
|
||||
for linkname
|
||||
do
|
||||
if test "$linkname" != "$realname"; then
|
||||
- $show "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
|
||||
- $run eval "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
|
||||
+ $show "(cd $destdir && $rm $linkname && $mv $realname $linkname)"
|
||||
+ $run eval "(cd $destdir && $rm $linkname && $mv $realname $linkname)"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
@@ -4569,40 +4569,6 @@ relink_command=\"$relink_command\""
|
||||
# Exit here if they wanted silent mode.
|
||||
test "$show" = ":" && exit 0
|
||||
|
||||
- echo "----------------------------------------------------------------------"
|
||||
- echo "Libraries have been installed in:"
|
||||
- for libdir in $libdirs; do
|
||||
- echo " $libdir"
|
||||
- done
|
||||
- echo
|
||||
- echo "If you ever happen to want to link against installed libraries"
|
||||
- echo "in a given directory, LIBDIR, you must either use libtool, and"
|
||||
- echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
|
||||
- echo "flag during linking and do at least one of the following:"
|
||||
- if test -n "$shlibpath_var"; then
|
||||
- echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
|
||||
- echo " during execution"
|
||||
- fi
|
||||
- if test -n "$runpath_var"; then
|
||||
- echo " - add LIBDIR to the \`$runpath_var' environment variable"
|
||||
- echo " during linking"
|
||||
- fi
|
||||
- if test -n "$hardcode_libdir_flag_spec"; then
|
||||
- libdir=LIBDIR
|
||||
- eval flag=\"$hardcode_libdir_flag_spec\"
|
||||
-
|
||||
- echo " - use the \`$flag' linker flag"
|
||||
- fi
|
||||
- if test -n "$admincmds"; then
|
||||
- echo " - have your system administrator run these commands:$admincmds"
|
||||
- fi
|
||||
- if test -f /etc/ld.so.conf; then
|
||||
- echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
|
||||
- fi
|
||||
- echo
|
||||
- echo "See any operating system documentation about shared libraries for"
|
||||
- echo "more information, such as the ld(1) and ld.so(8) manual pages."
|
||||
- echo "----------------------------------------------------------------------"
|
||||
exit 0
|
||||
;;
|
||||
|
12
net/gnet/patches/patch-src_Makefile_in
Normal file
12
net/gnet/patches/patch-src_Makefile_in
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_Makefile_in,v 1.1 2005/12/30 22:19:10 steven Exp $
|
||||
--- src/Makefile.in.orig Fri Dec 30 23:13:02 2005
|
||||
+++ src/Makefile.in Fri Dec 30 23:13:29 2005
|
||||
@@ -108,7 +108,7 @@ gnetincludedir = $(includedir)/gnet-$(GN
|
||||
|
||||
lib_LTLIBRARIES = libgnet-2.0.la
|
||||
|
||||
-libgnet_2_0_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) $(GLIB_LIBS) $(GTHREAD_LIBS)
|
||||
+libgnet_2_0_la_LDFLAGS = $(LIBgnet-2.0_LTVERSION) $(GLIB_LIBS) $(GTHREAD_LIBS)
|
||||
|
||||
|
||||
libgnet_2_0_la_SOURCES = gnet.c gnet-private.c ipv6.c inetaddr.c mcast.c tcp.c unix.c udp.c iochannel.c socks.c socks-private.c md5.c sha.c pack.c uri.c conn.c server.c usagi_ifaddrs.c base64.c
|
@ -1,2 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.4 2004/09/15 18:17:40 espie Exp $
|
||||
@lib lib/libgnet-2.0.so.0.4
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.5 2005/12/30 22:19:10 steven Exp $
|
||||
@lib lib/libgnet-2.0.so.${LIBgnet-2.0_VERSION}
|
||||
|
Loading…
Reference in New Issue
Block a user