summaryrefslogtreecommitdiff
path: root/devel/editline/patches/patch-Makefile.am
blob: a3caa5a069de47ecd270f8e2b3ec0673a906c778 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-Makefile.am,v 1.4 2015/05/17 21:19:12 rodent Exp $

* Create history.h symlink like NetBSD base libedit.

--- Makefile.am.orig	2015-03-25 20:02:28.000000000 +0000
+++ Makefile.am
@@ -11,3 +11,6 @@ SUBDIRS = src $(EXAMPLES_DIR) doc
 EXTRA_DIST = libedit.pc.in
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = libedit.pc
+
+install-data-local:
+	cd ${DESTDIR}${PREFIX}/include/editline && ln -sf readline.h history.h