head	1.4;
access;
symbols
	RELEASE_7_1_0:1.3
	RELEASE_6_4_0:1.3
	RELEASE_5_EOL:1.3
	RELEASE_7_0_0:1.3
	RELEASE_6_3_0:1.3
	PRE_XORG_7:1.3
	RELEASE_4_EOL:1.3
	RELEASE_6_2_0:1.3
	RELEASE_6_1_0:1.3
	RELEASE_5_5_0:1.3
	RELEASE_6_0_0:1.3
	RELEASE_5_4_0:1.3
	RELEASE_4_11_0:1.3
	RELEASE_5_3_0:1.3
	RELEASE_4_10_0:1.3;
locks; strict;
comment	@# @;


1.4
date	2009.04.13.02.57.07;	author pgollucci;	state dead;
branches;
next	1.3;

1.3
date	2004.03.20.12.35.41;	author clement;	state Exp;
branches;
next	1.2;

1.2
date	2004.03.08.11.28.14;	author clement;	state Exp;
branches;
next	1.1;

1.1
date	2004.03.06.14.09.42;	author clement;	state Exp;
branches;
next	;


desc
@@


1.4
log
@- USE_APACHE=yes is deprecated
- WITH_APACHE2 is deprecated
- Convert to AP_FAST_BUILD/AP_GENPLIST
- Bump PORTREVISION
@
text
@--- Makefile.orig	Sat Mar  6 02:03:42 2004
+++ Makefile	Sat Mar 20 12:43:15 2004
@@@@ -3,25 +3,27 @@@@
 NAME = mod_authenticache
 VERSION = 2.0.8
 
-CC = `apxs -q CC`
+CC = `${APXS} -q CC`
 DEFS = -DVERSION=\"$(VERSION)\"
-INCS = -I`apxs -q INCLUDEDIR`
-FLGS = -s -O3 -Wall -pipe
+INCS = -I`${APXS} -q INCLUDEDIR`
+FLGS = ${CFLAGS}
 OBJS = $(NAME).o
 #EXPS = /u/webs/ap-home/modules/httpd.exp /u/webs/ap-home/lib/apr.exp /u/webs/ap-home/lib/aprutil.exp
 #LIBS = -L../truerand -lrand
 
+all: $(NAME).so
+
 $(NAME).so: $(OBJS) $(EXPS)
-	$(CC) $(FLGS) -fpic -shared -o $@@ $^ $(LIBS)
+	$(CC) $(FLGS) -fPIC -shared -o $@@ $^ $(LIBS)
 
 .c.o: $<
-	$(CC) $(FLGS) -c $< $(INCS) $(DEFS)
+	$(CC) $(FLGS) -fPIC -c $< $(INCS) $(DEFS)
 	
 clean:
 	-rm -f *.o *.so
 
 install: $(NAME).so
-	-cp -p $(NAME).so `apxs -q LIBEXECDIR`
+	-cp -p $(NAME).so `${APXS} -q LIBEXECDIR`
 
 dist: clean
 	( cd ..; \
@


1.3
log
@Unbreak on amd64/ia64.
@
text
@@


1.2
log
@- (should) Fix build on amd64

Reported by:	bento via kris
@
text
@d2 2
a3 2
+++ Makefile	Mon Mar  8 11:36:41 2004
@@@@ -3,16 +3,18 @@@@
d25 4
a28 2
 	$(CC) $(FLGS) -c $< $(INCS) $(DEFS)
@@@@ -21,7 +23,7 @@@@
@


1.1
log
@- Update to 2.0.8
@
text
@d2 2
a3 2
+++ Makefile	Sat Mar  6 12:04:51 2004
@@@@ -3,14 +3,16 @@@@
d21 2
a22 1
 	$(CC) $(FLGS) -fpic -shared -o $@@ $^ $(LIBS)
d24 2
@

