openbsd-ports/print/a2ps/patches/patch-lib_Makefile_in
alek 7ecc26c677 - Fix libintl/libiconv detection
- Don't include bundled libintl headers
- Don't link liba2ps with libintl/libiconv
- Bump PKGNAME

second part

looks good sturm@
2005-02-11 19:45:04 +00:00

22 lines
1.1 KiB
Plaintext

$OpenBSD: patch-lib_Makefile_in,v 1.1 2005/02/11 19:45:04 alek Exp $
--- lib/Makefile.in.orig Tue Feb 8 23:23:43 2005
+++ lib/Makefile.in Tue Feb 8 23:25:13 2005
@@ -140,7 +140,7 @@ AUTOMAKE_OPTIONS = $(top_builddir)/lib/a
#
lib_LTLIBRARIES = liba2ps.la
-INCLUDES = -I$(top_builddir) -I$(top_builddir)/intl -I$(srcdir)
+INCLUDES = -I$(top_builddir) -I$(srcdir)
DEFS = @DEFS@ -DLOCALEDIR=\"$(datadir)/locale\" -DSYSCONFFILE=\"$(sysconfdir)/a2ps.cfg\"
# --debug, --defines, --verbose
YFLAGS = -dtv
@@ -370,7 +370,7 @@ distclean-kr:
maintainer-clean-kr:
liba2ps.la: $(liba2ps_la_OBJECTS) $(liba2ps_la_DEPENDENCIES)
- $(LINK) -rpath $(libdir) $(liba2ps_la_LDFLAGS) $(liba2ps_la_OBJECTS) $(liba2ps_la_LIBADD) $(LIBS)
+ $(LINK) -rpath $(libdir) $(liba2ps_la_LDFLAGS) $(liba2ps_la_OBJECTS) $(liba2ps_la_LIBADD)
addext_.c: addext.c $(ANSI2KNR)
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/addext.c; then echo $(srcdir)/addext.c; else echo addext.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > addext_.c
alloca_.c: alloca.c $(ANSI2KNR)