pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/fd fd: honor CFLAGS/LDFLAGS



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e82743e7d893
branches:  trunk
changeset: 452705:e82743e7d893
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri May 14 13:26:27 2021 +0000

description:
fd: honor CFLAGS/LDFLAGS

diffstat:

 misc/fd/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r 0680a05c1d7a -r e82743e7d893 misc/fd/Makefile
--- a/misc/fd/Makefile  Fri May 14 13:23:22 2021 +0000
+++ b/misc/fd/Makefile  Fri May 14 13:26:27 2021 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.33 2020/01/26 17:31:43 rillig Exp $
+# $NetBSD: Makefile,v 1.34 2021/05/14 13:26:27 nia Exp $
 #
 
 DISTNAME=      FD-3.01b
 PKGNAME=       ${DISTNAME:tl}
+PKGREVISION=   1
 CATEGORIES=    misc shells
 MASTER_SITES=  http://hp.vector.co.jp/authors/VA012337/soft/fd/
 
@@ -12,6 +13,8 @@
 
 MAKE_FLAGS+=   CONFDIR=${PKG_SYSCONFDIR}
 MAKE_FLAGS+=   PREFIX=${PREFIX}
+MAKE_FLAGS+=   CFLAGS=${CFLAGS:Q}
+MAKE_FLAGS+=   LDFLAGS=${LDFLAGS:Q}
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -24,7 +27,6 @@
 DOCDIR=                ${PREFIX}/share/doc/fd
 EXAMPLESDIR=   ${PREFIX}/share/examples/fd
 
-CFLAGS+=               -DUSEMANLANG -DUSEDATADIR
 DESTDIR_VARNAME=       BUILD
 
 DOCS=          FAQ LICENSES HISTORY README TECHKNOW ToAdmin



Home | Main Index | Thread Index | Old Index