1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00
freebsd-ports/net/openh323/files/patch-makefile.in
Maxim Sobolev d93906ff56 Shared library name in FreeBSD should be libfoo.so.X, not libfoo.so.X.Y.Z. No
user-visible changes, so that keep PORTREVISION intact.
2006-07-13 00:39:57 +00:00

33 lines
1.2 KiB
Plaintext

$FreeBSD$
--- Makefile.in.orig
+++ Makefile.in
@@ -337,22 +337,14 @@
install:
mkdir -p $(DESTDIR)$(LIBDIR)
rm -f $(DESTDIR)$(LIBDIR)/libh323_*_r.so*
- $(INSTALL) -m 444 lib/$(OH323_FILE).@MAJOR_VERSION@.@MINOR_VERSION@.@BUILD_NUMBER@ $(DESTDIR)$(LIBDIR)
- (cd $(DESTDIR)$(LIBDIR) ; \
- rm -f $(OH323_FILE).@MAJOR_VERSION@.@MINOR_VERSION@ ; \
- ln -sf $(OH323_FILE).@MAJOR_VERSION@.@MINOR_VERSION@.@BUILD_NUMBER@ $(OH323_FILE).@MAJOR_VERSION@.@MINOR_VERSION@ \
- )
- (cd $(DESTDIR)$(LIBDIR) ; \
- rm -f $(OH323_FILE).@MAJOR_VERSION@ ; \
- ln -sf $(OH323_FILE).@MAJOR_VERSION@.@MINOR_VERSION@.@BUILD_NUMBER@ $(OH323_FILE).@MAJOR_VERSION@ \
- )
+ $(INSTALL) -m 444 lib/$(OH323_FILE).@MAJOR_VERSION@ $(DESTDIR)$(LIBDIR)
(cd $(DESTDIR)$(LIBDIR) ; \
rm -f $(OH323_FILE) ; \
- ln -sf $(OH323_FILE).@MAJOR_VERSION@.@MINOR_VERSION@.@BUILD_NUMBER@ $(OH323_FILE) \
+ ln -sf $(OH323_FILE).@MAJOR_VERSION@ $(OH323_FILE) \
)
(cd $(DESTDIR)$(LIBDIR); \
- rm -f libopenh323.@SHAREDLIBEXT@ ; \
- ln -sf $(OH323_FILE) libopenh323.@SHAREDLIBEXT@ \
+ rm -f libopenh323.so ; \
+ ln -sf $(OH323_FILE) libopenh323.so \
)
( for dir in $(DESTDIR)$(LIBDIR) \
$(DESTDIR)$(PREFIX)/include/openh323 \