37f65a80c2
file, for example, the newer version of asterisk. PR: ports/114613 Submitted by: viper <viper at perm.raid.ru> Approved by: Steve Ames <steve at energistic.com> (maintainer)
37 lines
1.5 KiB
Text
37 lines
1.5 KiB
Text
--- Makefile.in.orig 2005-08-05 01:31:59.000000000 +0600
|
|
+++ Makefile.in 2007-07-13 16:11:26.000000000 +0600
|
|
@@ -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 \
|
|
@@ -362,6 +354,7 @@
|
|
( for fn in include/*.h ; do \
|
|
$(INSTALL) -m 444 $$fn $(DESTDIR)$(PREFIX)/include/openh323 ; \
|
|
done)
|
|
+ $(INSTALL) -m 444 version.h $(DESTDIR)$(PREFIX)/share/openh323
|
|
$(INSTALL) -m 444 openh323u.mak $(DESTDIR)$(PREFIX)/share/openh323
|
|
(cd plugins; $(MAKE) install)
|
|
|