pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/sformat



Module Name:    pkgsrc
Committed By:   jlam
Date:           Sat Aug 19 00:25:19 UTC 2017

Modified Files:
        pkgsrc/sysutils/sformat: Makefile

Log Message:
sysutils/sformat: Install manpages into ${PKGMANDIR}.

Override MANDIR=man settings in project Makefiles by passing an
explicit MANDIR=${PKGMANDIR} on the make(1) command line so that
manpages are installed into the correct location under
${PKGMANDIR}.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/sysutils/sformat/Makefile

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

Modified files:

Index: pkgsrc/sysutils/sformat/Makefile
diff -u pkgsrc/sysutils/sformat/Makefile:1.17 pkgsrc/sysutils/sformat/Makefile:1.18
--- pkgsrc/sysutils/sformat/Makefile:1.17       Thu Oct  9 14:07:00 2014
+++ pkgsrc/sysutils/sformat/Makefile    Sat Aug 19 00:25:19 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2014/10/09 14:07:00 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2017/08/19 00:25:19 jlam Exp $
 #
 
 DISTNAME=      sformat-3.5
@@ -20,7 +20,12 @@ MAKE_ENV+=   ARCH=""
 MAKE_ENV+=     MAKEPROG="gmake"
 MAKE_ENV+=     COPTX=${CFLAGS:M*:Q}
 MAKE_ENV+=     LDOPTX=${LDFLAGS:M*:Q}
-MAKE_FLAGS+=   INS_BASE=${DESTDIR}${LOCALBASE:Q} # won't work in MAKE_ENV!
+
+# Override settings in Makefiles by passing additional settings
+# on the command-line.
+#
+MAKE_FLAGS+=   INS_BASE=${DESTDIR}${LOCALBASE:Q}
+MAKE_FLAGS+=   MANDIR=${PKGMANDIR:Q}
 
 # if we're using a gcc which is named gcc, we need to set CCOM=gcc
 # in MAKE_ENV so the make infrastructure picks the right options.



Home | Main Index | Thread Index | Old Index