Search
j0ke.net Open Build Service
>
Projects
>
Apache
:
Modules
>
apache2-mod_vhs
> mod_vhs-makefile.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File mod_vhs-makefile.patch of Package apache2-mod_vhs
--- Makefile.orig 2010-08-08 20:56:33.425595234 +0200 +++ Makefile 2010-08-08 21:16:11.713884350 +0200 @@ -12,8 +12,8 @@ ## # In general you can use apxs, but on debian you should use apxs2 -APXS = apxs -#APXS = apxs2 +#APXS = apxs +APXS = /usr/sbin/apxs2 NAME = mod_vhs SRCS = mod_vhs.c mod_vhs_alias.c @@ -30,17 +30,18 @@ # is redefining strangely some headers.... :/ #CFLAGS= -DDEBIAN -I/usr/include/apr-0 -CFLAGS= -I/usr/include -I/usr/local/include/php -I/usr/local/include/php/Zend -I/usr/local/include/php/main -I/usr/local/include/php/TSRM +CFLAGS= -I/usr/include -I/usr/include/php5 -I/usr/include/php5/Zend -I/usr/include/php5/main -I/usr/include/php5/TSRM -CFLAGS+= -I/usr/local/apache2-itk/include -I/opt/local/include/php -I/opt/local/include/php/main -I/opt/local/include/php/TSRM -I/opt/local/include/php/Zend -Wc,-Wall +#CFLAGS+= -I/usr/apache2-itk/include -I/opt/local/include/php -I/opt/local/include/php/main -I/opt/local/include/php/TSRM -I/opt/local/include/php/Zend -Wc,-Wall +CFLAGS+= -I/usr/include/apache2-prefork -I/usr/include/apache2-worker -I/usr/include/apache2-event CFLAGS+= -DVH_DEBUG CFLAGS+= -DHAVE_MOD_PHP_SUPPORT #CFLAGS+= -DHAVE_MPM_ITK_SUPPORT -#CFLAGS+= -DHAVE_MOD_DBD_SUPPORT -CFLAGS+= -DHAVE_LDAP_SUPPORT +CFLAGS+= -DHAVE_MOD_DBD_SUPPORT +#CFLAGS+= -DHAVE_LDAP_SUPPORT # If you have an old PHP (eg < 5.3.x), then you can enable safe_mode tricks # on your OWN risk -#CFLAGS+= -DOLD_PHP +CFLAGS+= -DOLD_PHP # Flags for compilation (Full Debug) @@ -60,7 +61,7 @@ all: install install: $(SRCS) - $(APXS) -i -a -c $(LDFLAGS) $(CFLAGS) $(SRCS) + $(APXS) -a -c $(LDFLAGS) $(CFLAGS) $(SRCS) clean: $(RM) $(OBJS) $(APACHE_MODULE) mod_vhs.slo mod_vhs.lo mod_vhs.la mod_vhs_alias.la mod_vhs_alias.lo mod_vhs_alias.slo