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

bensons at users.sourceforge.net bensons at users.sourceforge.net
Sun Jul 26 20:41:14 CEST 2009


Revision: 5665
          http://gar.svn.sourceforge.net/gar/?rev=5665&view=rev
Author:   bensons
Date:     2009-07-26 18:41:14 +0000 (Sun, 26 Jul 2009)

Log Message:
-----------
fprobe: honor run directory for pid file+

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

Modified: csw/mgar/pkg/fprobe/trunk/Makefile
===================================================================
--- csw/mgar/pkg/fprobe/trunk/Makefile	2009-07-26 18:30:10 UTC (rev 5664)
+++ csw/mgar/pkg/fprobe/trunk/Makefile	2009-07-26 18:41:14 UTC (rev 5665)
@@ -24,11 +24,18 @@
 # no build tests
 SKIPTEST = 1
 
+# directory for PID file
+RUNDIR = /var/opt/csw/run
+
 CONFIGURE_ARGS  = $(DIRPATHS)
 CONFIGURE_ARGS += --with-pcap=$(includedir)
 CONFIGURE_ARGS += --with-libpcap=$(libdir)
+CONFIGURE_ARGS += --with-piddir=$(RUNDIR)
 
 include gar/category.mk
 
 pre-configure-modulated:
 	@gsed -i'' 's,CFLAGS="$$CFLAGS -DWALL -W -Wall",,' $(WORKSRC)/configure
+
+pre-install-modulated:
+	@ginstall -d -m 0755 $(DESTDIR)$(RUNDIR)


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