openbsd-ports/editors/nano/patches/patch-Makefile_in
naddy 5d7f5588cd initial import of nano 0.9.11; ok espie@
nano is a small and easy-to-use editor in the fashion of pico
2000-06-24 14:31:37 +00:00

33 lines
1.0 KiB
Plaintext

$OpenBSD: patch-Makefile_in,v 1.1.1.1 2000/06/24 14:31:38 naddy Exp $
--- Makefile.in.orig Wed Jun 21 04:12:13 2000
+++ Makefile.in Sat Jun 24 04:00:02 2000
@@ -73,7 +73,7 @@ GT_YES = @GT_YES@
INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
INSTOBJEXT = @INSTOBJEXT@
INTLDEPS = @INTLDEPS@
-INTLLIBS = @INTLLIBS@
+INTLLIBS = -L$(LOCALBASE)/lib -lintl
INTLOBJS = @INTLOBJS@
MAKEINFO = @MAKEINFO@
MKINSTALLDIRS = @MKINSTALLDIRS@
@@ -92,15 +92,16 @@ nano_SOURCES = cut.c files.c global.
man_MANS = nano.1
-nano_LDADD = @INTLLIBS@
+nano_LDADD = $(INTLLIBS)
EXTRA_DIST = AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO install-sh missing mkinstalldirs nano.1 nano.1.html
-SUBDIRS = po intl
+SUBDIRS = po
localedir = $(datadir)/locale
-INCLUDES = -Iintl -DLOCALEDIR=\"$(localedir)\" -I@includedir@
+INCLUDES = -I$(LOCALBASE)/share/gettext/intl -DLOCALEDIR=\"$(localedir)\" \
+ -I@includedir@
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = config.h