[csw-devel] SF.net SVN: gar:[19378] csw/mgar/pkg/apache2/branches/apache24/Makefile

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Thu Oct 4 20:51:59 CEST 2012


Revision: 19378
          http://gar.svn.sourceforge.net/gar/?rev=19378&view=rev
Author:   bdwalton
Date:     2012-10-04 18:51:59 +0000 (Thu, 04 Oct 2012)
Log Message:
-----------
apache2/branches/apache24: install the init script and add smf support

Modified Paths:
--------------
    csw/mgar/pkg/apache2/branches/apache24/Makefile

Modified: csw/mgar/pkg/apache2/branches/apache24/Makefile
===================================================================
--- csw/mgar/pkg/apache2/branches/apache24/Makefile	2012-10-04 15:14:12 UTC (rev 19377)
+++ csw/mgar/pkg/apache2/branches/apache24/Makefile	2012-10-04 18:51:59 UTC (rev 19378)
@@ -68,11 +68,7 @@
 
 BUILD_DEP_PKGS += CSWlibaprutil-dev
 
-# The SMF support: you don't need to specify cswinitsmf any more.  You need to
-# make sure the the /etc/opt/csw/init.d/cswapache file gets installed during
-# the post-install stage, and add "INITSMF = /etc/opt/csw/init.d/cswapache" to
-# the Makefile.
-INITSMF = /etc/opt/csw/init.d/cswapache2
+INITSMF = /etc/opt/csw/init.d/cswapache24
 
 # We need this to get bdb48/lib into the runpath
 EXTRA_LIB = $(prefix)/bdb48/lib
@@ -107,4 +103,6 @@
 	  cd $(PKGROOT)/$(mandir); \
 		perl -pi -e 's|usr/local/etc/apache|etc/opt/csw/apache24|g' man1/*; \
 		perl -pi -e 's|/usr/local/apache2|/etc/opt/csw/apache2|g' man8/* )
+	@( ginstall -d $(PKGROOT)/etc/opt/csw/init.d; \
+	    ginstall $(WORKSRC_FIRSTMOD)/../cswapache24 $(PKGROOT)/etc/opt/csw/init.d )
 	@$(MAKECOOKIE)

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