#
# package_build-yes.patch
#
# src/common/etc/Makefile
# fix install when package_build is yes
#
--- openca-base-1.1.0/src/common/etc/Makefile.old 2010-02-24
15:21:57.000000000 -0800
+++ openca-base-1.1.0/src/common/etc/Makefile 2010-06-07 17:22:26.533040002
-0700
@@ -102,12 +102,14 @@
cd $@ && $(MAKE) $(SUBTARGET)
$(INIT_FILE): $(INIT_DIR) $(INIT_DIR)/$(INIT_FILE)
- if [ -d "/etc/init.d" ] ; then \
- if [ -h "/etc/init.d/$(INIT_FILE)" ] ; then \
- $(MV) -f "/etc/init.d/$(INIT_FILE)" \
+ if [ X$(package_build) != Xyes ] ; then \
+ if [ -d "/etc/init.d" ] ; then \
+ if [ -h "/etc/init.d/$(INIT_FILE)" ] ; then \
+ $(MV) -f "/etc/init.d/$(INIT_FILE)" \
"/etc/init.d/$(INIT_FILE).backup" ; \
- fi ; \
- $(LN_S) "$(INIT_DIR)/$(INIT_FILE)" "/etc/init.d/$(INIT_FILE)";\
+ fi ; \
+ $(LN_S) "$(INIT_DIR)/$(INIT_FILE)"
"/etc/init.d/$(INIT_FILE)";\
+ fi ;\
fi
$(INIT_DIR)/$(INIT_FILE)::
--
Tim Rice Multitalents (707) 887-1469
t...@multitalents.net
#
# package_build-yes.patch
#
# src/common/etc/Makefile
# fix install when package_build is yes
#
--- openca-base-1.1.0/src/common/etc/Makefile.old 2010-02-24
15:21:57.000000000 -0800
+++ openca-base-1.1.0/src/common/etc/Makefile 2010-06-07 17:22:26.533040002
-0700
@@ -102,12 +102,14 @@
cd $@ && $(MAKE) $(SUBTARGET)
$(INIT_FILE): $(INIT_DIR) $(INIT_DIR)/$(INIT_FILE)
- if [ -d "/etc/init.d" ] ; then \
- if [ -h "/etc/init.d/$(INIT_FILE)" ] ; then \
- $(MV) -f "/etc/init.d/$(INIT_FILE)" \
+ if [ X$(package_build) != Xyes ] ; then \
+ if [ -d "/etc/init.d" ] ; then \
+ if [ -h "/etc/init.d/$(INIT_FILE)" ] ; then \
+ $(MV) -f "/etc/init.d/$(INIT_FILE)" \
"/etc/init.d/$(INIT_FILE).backup" ; \
- fi ; \
- $(LN_S) "$(INIT_DIR)/$(INIT_FILE)" "/etc/init.d/$(INIT_FILE)";\
+ fi ; \
+ $(LN_S) "$(INIT_DIR)/$(INIT_FILE)"
"/etc/init.d/$(INIT_FILE)";\
+ fi ;\
fi
$(INIT_DIR)/$(INIT_FILE)::
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
OpenCA-Devel mailing list
OpenCA-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openca-devel