SF.net SVN: gar:[23863] csw/mgar/pkg/logwatch/trunk/Makefile
bdwalton at users.sourceforge.net
bdwalton at users.sourceforge.net
Sun Jul 27 01:36:16 CEST 2014
Revision: 23863
http://sourceforge.net/p/gar/code/23863
Author: bdwalton
Date: 2014-07-26 23:36:13 +0000 (Sat, 26 Jul 2014)
Log Message:
-----------
logwatch/trunk: use a variable name that does not conflict with traditional environment settings
Modified Paths:
--------------
csw/mgar/pkg/logwatch/trunk/Makefile
Modified: csw/mgar/pkg/logwatch/trunk/Makefile
===================================================================
--- csw/mgar/pkg/logwatch/trunk/Makefile 2014-07-26 22:10:54 UTC (rev 23862)
+++ csw/mgar/pkg/logwatch/trunk/Makefile 2014-07-26 23:36:13 UTC (rev 23863)
@@ -53,7 +53,7 @@
MANDIR = $(datadir)/man
DOCDIR = $(datadir)/doc/$(NAME)
CONFDIR = $(sysconfdir)/$(NAME)
-TMPDIR = /var/opt/csw/$(NAME)
+TEMP_DIR = /var/opt/csw/$(NAME)
install-custom:
@(echo "A no-op installer."; \
@@ -62,7 +62,7 @@
post-install-modulated:
(cd $(WORKSRC); \
- $(INSTALLDIR) $(DESTDIR)$(TMPDIR); \
+ $(INSTALLDIR) $(DESTDIR)$(TEMP_DIR); \
$(INSTALLDIR) $(DESTDIR)$(BINDIR); \
$(INSTALLDIR) $(DESTDIR)$(CONFDIR); \
$(INSTALLDIR) $(DESTDIR)$(CONFDIR)/conf; \
@@ -109,8 +109,8 @@
perl -pi -e "s%/usr/bin/perl%/opt/csw/bin/perl%" $(DESTDIR)$(BINDIR)/logwatch.pl; \
perl -pi -e "s%/etc/logwatch%/etc/opt/csw/logwatch%" $(DESTDIR)$(BINDIR)/logwatch.pl; \
perl -pi -e "s%sendmail%/usr/lib/sendmail%" $(DESTDIR)$(SHAREDIR)/default.conf/logwatch.conf; \
- $(INSTALLDIR) $(DESTDIR)$(TMPDIR); \
- echo "TmpDir = $(TMPDIR)" >> $(DESTDIR)$(CONFDIR)/conf/logwatch.conf; \
+ $(INSTALLDIR) $(DESTDIR)$(TEMP_DIR); \
+ echo "TmpDir = $(TEMP_DIR)" >> $(DESTDIR)$(CONFDIR)/conf/logwatch.conf; \
$(INSTALLDIR) $(DESTDIR)$(MANDIR)/man8; \
$(INSTALLDATA) logwatch.8 $(DESTDIR)$(MANDIR)/man8; \
$(INSTALLEXE) logwatch.wrapper $(DESTDIR)$(BINDIR)/logwatch; \
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list