openbsd-ports/net/opal/patches/patch-Makefile_in
ajacoutot c0119eb049 - fix WANTLIB after pwlib FLAVORs merge
- cope with new speex version
2008-05-22 19:30:41 +00:00

38 lines
1.3 KiB
Plaintext

$OpenBSD: patch-Makefile_in,v 1.2 2008/05/22 19:30:41 ajacoutot Exp $
--- Makefile.in.orig Sat Apr 22 16:06:54 2006
+++ Makefile.in Thu May 22 20:21:08 2008
@@ -534,7 +534,7 @@ SOURCES += $(OPAL_SRCDIR)/codec/speexcodec.cxx
ifdef OPAL_SYSTEM_SPEEX
-ENDLDLIBS := -lspeex $(ENDLDLIBS)
+ENDLDLIBS := -lspeex -lspeexdsp $(ENDLDLIBS)
else
@@ -762,9 +762,6 @@ ifeq ($(P_SHAREDLIB),1)
endif
$(LIBDIR)/$(OPAL_FILE): $(LIBDIR)/$(LIBNAME_PAT)
- cd $(LIBDIR) ; rm -f $(OPAL_FILE) ; ln -sf $(LIBNAME_PAT) $(OPAL_FILE)
- cd $(LIBDIR) ; rm -f $(LIBNAME_MAJ) ; ln -sf $(LIBNAME_PAT) $(LIBNAME_MAJ)
- cd $(LIBDIR) ; rm -f $(LIBNAME_MIN) ; ln -sf $(LIBNAME_PAT) $(LIBNAME_MIN)
$(LIBDIR)/$(LIBNAME_PAT): $(STATIC_LIB_FILE)
@echo EXTLIBS = $(EXTLIBS)
@@ -881,14 +878,6 @@ install:
do mkdir -p $$dir ; chmod 755 $$dir ; \
done)
$(INSTALL) -m 755 lib/$(LIBNAME_PAT) $(DESTDIR)@LIBDIR@
- ln -snf $(LIBNAME_PAT) \
- $(DESTDIR)@LIBDIR@/$(OPAL_FILE).$(MAJOR_VERSION).$(MINOR_VERSION)
- ln -snf $(LIBNAME_PAT) \
- $(DESTDIR)@LIBDIR@/$(OPAL_FILE).$(MAJOR_VERSION)
- ln -snf $(LIBNAME_PAT) \
- $(DESTDIR)@LIBDIR@/$(OPAL_FILE)
- ln -snf $(LIBNAME_PAT) \
- $(DESTDIR)@LIBDIR@/libopal.so
( for fn in include/asn/*.h ; do \
$(INSTALL) -m 644 $$fn $(DESTDIR)$(PREFIX)/include/opal/asn ; \
done)