cvs commit: mod_parrot Makefile

[email protected]
Newsgroups perl.cvs.mod_parrot
Message-ID <[email protected]>
cvsuser     02/04/10 20:37:51

  Modified:    .        Makefile
  Log:
  removed patch_parrot because libparrot.so doesn't want to link.  I'm
  trying to redo this as custom ops
  
  change the LD_LIBRARY_PATH so that apache will run
  
  Revision  Changes    Path
  1.4       +7 -10     mod_parrot/Makefile
  
  Index: Makefile
  ===================================================================
  RCS file: /cvs/public/mod_parrot/Makefile,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -w -r1.3 -r1.4
  --- Makefile	2 Dec 2001 05:32:40 -0000	1.3
  +++ Makefile	11 Apr 2002 03:37:51 -0000	1.4
  @@ -1,17 +1,14 @@
   
   APACHEDIR=/usr/local/apache
   
  -PARROT_DIR=../parrot
  +PARROT_DIR=/usr/src/parrot
  +PARROT_LIB_DIR=$(PARROT_DIR)/blib/lib
   
  -all: patchparrot mod_parrot.so
  +all: mod_parrot.so
   
   mod_parrot.so: mod_parrot.c
  -	$(APACHEDIR)/bin/apxs -Wall -I $(PARROT_DIR)/include -c -n parrot mod_parrot.c -L$(PARROT_DIR) -lparrot 
  -
  -patchparrot:
  -	make -C $(PARROT_DIR) core_ops.c
  -	perl -pi -e 's/printf/modparrot_printf/g' $(PARROT_DIR)/core_ops.c
  -	make -C $(PARROT_DIR) libparrot.so
  +	make -C $(PARROT_DIR) shared
  +	$(APACHEDIR)/bin/apxs -Wall -I $(PARROT_DIR)/include -c -n parrot mod_parrot.c -L$(PARROT_LIB_DIR) -lparrot 
   
   install: mod_parrot.so
   	$(APACHEDIR)/bin/apxs -i -a -n parrot mod_parrot.so
  @@ -19,9 +16,9 @@
   hs:
   	$(APACHEDIR)/bin/apachectl stop
   	sleep 1
  -	LD_LIBRARY_PATH=$(PARROT_DIR) $(APACHEDIR)/bin/apachectl start
  +	LD_LIBRARY_PATH=$(PARROT_LIB_DIR) $(APACHEDIR)/bin/apachectl start
   
   
   hsd:
  -	LD_LIBRARY_PATH=$(PARROT_DIR) $(APACHEDIR)/bin/httpd -X
  +	LD_LIBRARY_PATH=$(PARROT_LIB_DIR) $(APACHEDIR)/bin/httpd -X
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.