pkgsrc-Changes archive

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

CVS commit: pkgsrc/news/sfeed



Module Name:    pkgsrc
Committed By:   leot
Date:           Tue Feb 26 18:13:54 UTC 2019

Modified Files:
        pkgsrc/news/sfeed: Makefile

Log Message:
sfeed: Avoid SUBST and directly adjust variables via MAKE_FLAGS (NFC)


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/news/sfeed/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/news/sfeed/Makefile
diff -u pkgsrc/news/sfeed/Makefile:1.4 pkgsrc/news/sfeed/Makefile:1.5
--- pkgsrc/news/sfeed/Makefile:1.4      Sun Feb 17 21:19:53 2019
+++ pkgsrc/news/sfeed/Makefile  Tue Feb 26 18:13:54 2019
@@ -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
 



Home | Main Index | Thread Index | Old Index