diff options
author | leot <leot@pkgsrc.org> | 2019-02-26 18:13:54 +0000 |
---|---|---|
committer | leot <leot@pkgsrc.org> | 2019-02-26 18:13:54 +0000 |
commit | 20aa883f467a38c50c6ce009acf510f83ee844dd (patch) | |
tree | 1543cb622e46ed3cbd1270b2ed02d28931a80058 /news | |
parent | f175f17e80f53be06afc06bad8f1a718d299924f (diff) | |
download | pkgsrc-20aa883f467a38c50c6ce009acf510f83ee844dd.tar.gz |
sfeed: Avoid SUBST and directly adjust variables via MAKE_FLAGS (NFC)
Diffstat (limited to 'news')
-rw-r--r-- | news/sfeed/Makefile | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/news/sfeed/Makefile b/news/sfeed/Makefile index 641d798cde7..1e6aa22ed60 100644 --- a/news/sfeed/Makefile +++ b/news/sfeed/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2019/02/17 21:19:53 leot Exp $ +# $NetBSD: Makefile,v 1.5 2019/02/26 18:13:54 leot Exp $ DISTNAME= sfeed-0.9.8 CATEGORIES= news @@ -11,17 +11,9 @@ LICENSE= isc USE_LANGUAGES= c99 -# Adjust config.mk -SUBST_CLASSES+= makefile -SUBST_STAGE.makefile= pre-configure -SUBST_MESSAGE.makefile= Fixing config.mk -SUBST_FILES.makefile= config.mk -SUBST_SED.makefile= -e 's,/usr/local,${PREFIX},g' -SUBST_SED.makefile+= -e 's,man,${PKGMANDIR},g' -SUBST_SED.makefile+= -e 's/cc/${CC:Q}/' -SUBST_SED.makefile+= -e 's,^CFLAGS *= ,CFLAGS += ,' -SUBST_SED.makefile+= -e 's,^CPPFLAGS *= ,CPPFLAGS += ,' -SUBST_SED.makefile+= -e 's,^LDFLAGS *= ,LDFLAGS += ,' +MAKE_FLAGS+= PREFIX=${PREFIX:Q} +MAKE_FLAGS+= MANPREFIX=${PREFIX:Q}/${PKGMANDIR:Q} +MAKE_FLAGS+= CC=${CC:Q} REPLACE_SH+= sfeed_opml_export sfeed_update |