[csw-devel] SF.net SVN: gar:[14529] csw/mgar/pkg/tmux/trunk/Makefile

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Thu May 5 16:56:20 CEST 2011


Revision: 14529
          http://gar.svn.sourceforge.net/gar/?rev=14529&view=rev
Author:   dmichelsen
Date:     2011-05-05 14:56:20 +0000 (Thu, 05 May 2011)

Log Message:
-----------
tmux: Fix location of tmux.conf and defaults

Modified Paths:
--------------
    csw/mgar/pkg/tmux/trunk/Makefile

Modified: csw/mgar/pkg/tmux/trunk/Makefile
===================================================================
--- csw/mgar/pkg/tmux/trunk/Makefile	2011-05-05 14:26:51 UTC (rev 14528)
+++ csw/mgar/pkg/tmux/trunk/Makefile	2011-05-05 14:56:20 UTC (rev 14529)
@@ -11,9 +11,6 @@
 #   https://sourceforge.net/tracker/?func=detail&aid=3152389&group_id=200378&atid=973264
 PATCHFILES = 0001-Use-inttypes.h-if-stdint.h-is-not-available.patch
 
-# We define upstream file regex so we can be notifed of new upstream software release
-UFILES_REGEX = -(\d+(?:\.\d+)*).tar.gz
-
 RUNTIME_DEP_PKGS = CSWlibevent2-0-5
 BUILD_DEP_PKGS = CSWlibevent-devel
 
@@ -29,15 +26,16 @@
 
 INSTALL_SCRIPTS = custom
 
-# New libevent2_0_5 has not been released, remove after release
-CHECKPKG_OVERRIDES_CSWtmux += soname-not-found|libevent-2.0.so.5|is|needed|by|opt/csw/bin/tmux
-CHECKPKG_OVERRIDES_CSWtmux += surplus-dependency|CSWlibevent2-0-5
-CHECKPKG_OVERRIDES_CSWtmux += unidentified-dependency|CSWlibevent2-0-5
-
 include gar/category.mk
 
 PATH := /opt/csw/gnu:$(PATH)
 
+post-extract-modulated:
+	@# Make sure tmux.conf is found in /etc/opt/csw as reported in #4696
+	perl -pi -e 's,/etc/tmux\.conf,$(sysconfdir)/tmux.conf,g' \
+		$(WORKSRC)/tmux.h \
+		$(WORKSRC)/tmux.1
+
 install-custom:
 	ginstall -d $(DESTDIR)$(bindir)
 	ginstall $(WORKSRC)/tmux $(DESTDIR)$(bindir)


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