openbsd-ports/devel/pwlib/patches/patch-Makefile_in
ajacoutot 7de7eeae8e - major upgrade to pwlib-1.12.0
- rework the way we handle shared_libs versus ptlib version so it stays
compatible with upstream
- install version.h
- dtmf decoder patch from FreeBSD
2008-03-15 17:38:07 +00:00

39 lines
1.6 KiB
Plaintext

$OpenBSD: patch-Makefile_in,v 1.2 2008/03/15 17:38:07 ajacoutot Exp $
--- Makefile.in.orig Fri Oct 19 08:22:39 2007
+++ Makefile.in Fri Jan 4 14:04:44 2008
@@ -257,23 +257,7 @@ install:
$(DESTDIR)$(PREFIX)/share/pwlib/make ; \
do mkdir -p $$dir ; chmod 755 $$dir ; \
done )
- $(INSTALL) -m 444 lib/$(PTLIB_FILE).@MAJOR_VERSION@.@MINOR_VERSION@.@BUILD_NUMBER@ $(DESTDIR)$(LIBDIR)
- (cd $(DESTDIR)$(LIBDIR) ; \
- rm -f $(PTLIB_FILE).@MAJOR_VERSION@.@MINOR_VERSION@ ; \
- ln -sf $(PTLIB_FILE).@MAJOR_VERSION@.@MINOR_VERSION@.@BUILD_NUMBER@ $(PTLIB_FILE).@MAJOR_VERSION@.@MINOR_VERSION@ \
- )
- (cd $(DESTDIR)$(LIBDIR) ; \
- rm -f $(PTLIB_FILE).@MAJOR_VERSION@ ; \
- ln -sf $(PTLIB_FILE).@MAJOR_VERSION@.@MINOR_VERSION@.@BUILD_NUMBER@ $(PTLIB_FILE).@MAJOR_VERSION@ \
- )
- (cd $(DESTDIR)$(LIBDIR) ; \
- rm -f $(PTLIB_FILE) ; \
- ln -sf $(PTLIB_FILE).@MAJOR_VERSION@.@MINOR_VERSION@.@BUILD_NUMBER@ $(PTLIB_FILE) \
- )
- (cd $(DESTDIR)$(LIBDIR); \
- rm -f libpt.@SHAREDLIBEXT@ ; \
- ln -sf $(PTLIB_FILE) libpt.@SHAREDLIBEXT@ \
- )
+ $(INSTALL) -m 444 lib/$(PTLIB_FILE).$(LIB_MAJOR_VERSION).$(LIB_MINOR_VERSION) $(DESTDIR)$(LIBDIR)
ifeq (1, $(HAS_PLUGINS))
cd plugins/pwlib/device/ ; \
( for dir in ./* ;\
@@ -298,8 +282,7 @@ endif
(for fn in make/*.mak ; \
do $(INSTALL) -m 444 $$fn $(DESTDIR)$(PREFIX)/share/pwlib/make; \
done)
- $(INSTALL) -m 755 make/ptlib-config $(DESTDIR)$(PREFIX)/share/pwlib/make/
- (cd $(DESTDIR)$(PREFIX)/bin; rm -f ptlib-config ; ln -snf ../share/pwlib/make/ptlib-config ptlib-config)
+ $(INSTALL) -m 755 make/ptlib-config $(DESTDIR)$(PREFIX)/bin/
uninstall:
rm -rf $(DESTDIR)$(PREFIX)/include/ptlib \