Fri Apr 23 18:18:02 2021 UTC ()
nano: actually depend on pkg-config


(nia)
diff -r1.96 -r1.97 pkgsrc/editors/nano/Makefile

cvs diff -r1.96 -r1.97 pkgsrc/editors/nano/Makefile (expand / switch to unified diff)

--- pkgsrc/editors/nano/Makefile 2021/04/23 17:05:26 1.96
+++ pkgsrc/editors/nano/Makefile 2021/04/23 18:18:02 1.97
@@ -1,35 +1,33 @@ @@ -1,35 +1,33 @@
1# $NetBSD: Makefile,v 1.96 2021/04/23 17:05:26 thor Exp $ 1# $NetBSD: Makefile,v 1.97 2021/04/23 18:18:02 nia Exp $
2 2
3DISTNAME= nano-5.6.1 3DISTNAME= nano-5.6.1
4CATEGORIES= editors 4CATEGORIES= editors
5MASTER_SITES= https://www.nano-editor.org/dist/v${PKGVERSION_NOREV:C/\..*$//}/ 5MASTER_SITES= https://www.nano-editor.org/dist/v${PKGVERSION_NOREV:C/\..*$//}/
6EXTRACT_SUFX= .tar.xz 6EXTRACT_SUFX= .tar.xz
7 7
8MAINTAINER= wiedi@frubar.net 8MAINTAINER= wiedi@frubar.net
9HOMEPAGE= https://www.nano-editor.org/ 9HOMEPAGE= https://www.nano-editor.org/
10COMMENT= Small and friendly text editor (a free replacement for Pico) 10COMMENT= Small and friendly text editor (a free replacement for Pico)
11LICENSE= gnu-gpl-v3 11LICENSE= gnu-gpl-v3
12 12
13USE_PKGLOCALEDIR= yes 13USE_PKGLOCALEDIR= yes
14USE_TOOLS+= msgfmt msgmerge xgettext gmake 14USE_TOOLS+= msgfmt msgmerge xgettext gmake
 15USE_TOOLS+= pkg-config
15GNU_CONFIGURE= yes 16GNU_CONFIGURE= yes
16CONFIGURE_ARGS+= --enable-color 17CONFIGURE_ARGS+= --enable-color
17CONFIGURE_ARGS+= --enable-multibuffer 18CONFIGURE_ARGS+= --enable-multibuffer
18CONFIGURE_ARGS+= --enable-nanorc 19CONFIGURE_ARGS+= --enable-nanorc
19CONFIGURE_ARGS+= --enable-extra 20CONFIGURE_ARGS+= --enable-extra
20# Help it find our preferrend ncursesw using pkg-config instead 
21# of resorting to outdated ncursesw5-config in host system on SLES 11. 
22CONFIGURE_ARGS+= PKG_CONFIG=pkg-config 
23 21
24INFO_FILES= yes 22INFO_FILES= yes
25 23
26# Looks like that IRIX 5.x lacks vsnprintf() functions, 24# Looks like that IRIX 5.x lacks vsnprintf() functions,
27# which are required to make this work, so glib2 is used instead. 25# which are required to make this work, so glib2 is used instead.
28.include "../../mk/bsd.prefs.mk" 26.include "../../mk/bsd.prefs.mk"
29 27
30.if !empty(MACHINE_PLATFORM:MIRIX-5*) 28.if !empty(MACHINE_PLATFORM:MIRIX-5*)
31. include "../../devel/glib2/buildlink3.mk" 29. include "../../devel/glib2/buildlink3.mk"
32.endif 30.endif
33 31
34.include "options.mk" 32.include "options.mk"
35 33