openbsd-ports/x11/openmotif/patches/patch-lib_Xm_Makefile_in

23 lines
856 B
Plaintext

$OpenBSD: patch-lib_Xm_Makefile_in,v 1.3 2010/04/24 20:17:13 naddy Exp $
--- lib/Xm/Makefile.in.orig Fri Apr 23 17:21:51 2010
+++ lib/Xm/Makefile.in Fri Apr 23 17:22:47 2010
@@ -178,7 +178,8 @@ libXm_la_OBJECTS = $(am_libXm_la_OBJECTS)
libXm_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(libXm_la_LDFLAGS) \
$(LDFLAGS) -o $@
-DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
+DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include \
+ -I${PREFIX}/include
depcomp = $(SHELL) $(top_srcdir)/depcomp
am__depfiles_maybe = depfiles
am__mv = mv -f
@@ -263,7 +264,7 @@ LEXLIB = @LEXLIB@
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
LIBDIR = @LIBDIR@
LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
+LIBS = @LIBS@ -L${LOCALBASE}/lib -liconv
LIBTOOL = @LIBTOOL@
LIB_XP = @LIB_XP@
LIPO = @LIPO@