mirror of
https://git.freebsd.org/ports.git
synced 2025-06-25 06:30:29 -04:00
TCP/UDP connections to be bound to IPv6 version of INADDR_ANY, which doesn't really work for PF_INET sockets. o use proper name for the shared library - libfoo.so.X, not libfoo.so.X.Y.
44 lines
1.6 KiB
Text
44 lines
1.6 KiB
Text
|
|
$FreeBSD$
|
|
|
|
--- wrapper/Makefile.orig
|
|
+++ wrapper/Makefile
|
|
@@ -62,7 +62,7 @@
|
|
ifdef OH323_SUPPRESS_H235
|
|
STDCCFLAGS += -DOH323_SUPPRESS_H235
|
|
endif
|
|
-OPENH323FLAGS = $(shell make $(OPENH323USERFLAGS) -f openh323flags.mak \
|
|
+OPENH323FLAGS = $(shell $(MAKE) $(OPENH323USERFLAGS) -f openh323flags.mak \
|
|
--no-print-directory -s \
|
|
PWLIBDIR=$(PWLIBDIR) OPENH323DIR=$(OPENH323DIR) oh323ccflags)
|
|
CPPFLAGS += $(OPENH323FLAGS)
|
|
@@ -103,22 +103,22 @@
|
|
ifeq ($(OH323STAT),1)
|
|
$(AR) rc liboh323wrap_s.a $(WRAPOBJECTS)
|
|
else
|
|
- $(CC) -shared -Wl,-soname,liboh323wrap.so -o liboh323wrap.so $(WRAPOBJECTS)
|
|
+ $(CC) -shared -Wl,-soname,liboh323wrap.so.1 -o liboh323wrap.so.1 $(WRAPOBJECTS)
|
|
+ ln -sfh liboh323wrap.so.1 liboh323wrap.so
|
|
endif
|
|
|
|
strip:
|
|
|
|
install:
|
|
if [ ! -d $(DESTDIR)$(OH323WRAPLIBDIR) ]; then \
|
|
- $(INSTALL) -d $(DESTDIR)$(OH323WRAPLIBDIR); \
|
|
+ $(MKDIR) $(DESTDIR)$(OH323WRAPLIBDIR); \
|
|
fi
|
|
ifeq ($(OH323STAT),1)
|
|
- $(INSTALL) -m 0644 liboh323wrap_s.a $(DESTDIR)$(OH323WRAPLIBDIR)
|
|
+ $(BSD_INSTALL_PROGRAM) liboh323wrap_s.a $(DESTDIR)$(OH323WRAPLIBDIR)
|
|
else
|
|
- $(INSTALL) liboh323wrap.so $(DESTDIR)$(OH323WRAPLIBDIR)
|
|
- cd $(DESTDIR)$(OH323WRAPLIBDIR); rm -f ./liboh323wrap.so.1; rm -f ./liboh323wrap.so.1.1
|
|
- cd $(DESTDIR)$(OH323WRAPLIBDIR); ln -s liboh323wrap.so liboh323wrap.so.1
|
|
- cd $(DESTDIR)$(OH323WRAPLIBDIR); ln -s liboh323wrap.so liboh323wrap.so.1.1
|
|
+ $(BSD_INSTALL_PROGRAM) liboh323wrap.so.1 $(DESTDIR)$(OH323WRAPLIBDIR)
|
|
+ cd $(DESTDIR)$(OH323WRAPLIBDIR); rm -f ./liboh323wrap.so
|
|
+ cd $(DESTDIR)$(OH323WRAPLIBDIR); ln -s liboh323wrap.so.1 liboh323wrap.so
|
|
endif
|
|
|
|
clean:
|