$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)