openbsd-ports/net/opal/patches/patch-opal_inc_mak_in
ajacoutot 8d4be5a389 Import opal-2.2.11
OPAL is an open-source class library for the development of applications
that wish to use the SIP and H.323 protocols for multi-media
communications over packet based networks.
2008-04-29 07:01:18 +00:00

25 lines
579 B
Plaintext

$OpenBSD: patch-opal_inc_mak_in,v 1.1.1.1 2008/04/29 07:01:18 ajacoutot Exp $
--- opal_inc.mak.in.orig Tue Jan 31 09:10:37 2006
+++ opal_inc.mak.in Mon Apr 28 14:13:50 2008
@@ -67,7 +67,11 @@ HAS_IXJ=@HAS_IXJ@
HAS_SANGOMA=@HAS_SANGOMA@
+ifdef BUILDSELF
OPALDIR=@OPALDIR@
+else
+OPALDIR=!!PREFIX!!/lib
+endif
PWLIBDIR=@PWLIBDIR@
LIBDIRS += $(OPALDIR)
@@ -103,7 +107,7 @@ OPAL_SUFFIX = $(OBJ_SUFFIX)
endif
-OPAL_BASE = opal_$(PLATFORM_TYPE)_$(OPAL_SUFFIX)
+OPAL_BASE = opal
OPAL_FILE = lib$(OPAL_BASE)$(LIB_TYPE).$(LIB_SUFFIX)
LDFLAGS += -L$(OPAL_LIBDIR)