openbsd-ports/devel/ptlib/patches/patch-make_common_mak
ajacoutot a730dfbf59 Major update to ptlib-2.10.3.
Some clue from espie@

Needed to work on an Ekiga update.
There are still some rought edges but they'll be worked in-tree.

This and the upcoming VoIP ports commits wouldn't have been possible
without Miod's soft couch ;-)
2011-10-26 16:59:09 +00:00

29 lines
840 B
Plaintext

$OpenBSD: patch-make_common_mak,v 1.2 2011/10/26 16:59:09 ajacoutot Exp $
--- make/common.mak.orig Fri Oct 14 08:54:53 2011
+++ make/common.mak Wed Oct 26 10:37:55 2011
@@ -80,6 +80,7 @@ endif
SOURCES := $(strip $(SOURCES))
+ifneq ($(OSTYPE),OpenBSD)
ifeq ($(V)$(VERBOSE),)
Q = @
Q_CC = @echo [CC] `echo $< | sed s/$PWD//` ;
@@ -87,6 +88,7 @@ Q_DEP= @echo [DEP] `echo $< | sed s/$PWD//` ;
Q_AR = @echo [AR] `echo $@ | sed s/$PWD//` ;
Q_LD = @echo [LD] `echo $@ | sed s/$PWD//` ;
endif
+endif
#
@@ -164,7 +166,7 @@ TARGET_LIBS = $(PTLIBDIR)/lib_$(PLATFORM_TYPE)/$(PTLIB
# distinguish betweek building and using pwlib
ifeq (,$(wildcard $(PTLIBDIR)/src))
-TARGET_LIBS = $(SYSLIBDIR)/$(PTLIB_FILE)
+TARGET_LIBS = $(SYSLIBDIR)/$(PTLIB_FILE).${LIBpt_VERSION}
endif
$(TARGET): $(OBJS) $(TARGET_LIBS)