aboutsummaryrefslogtreecommitdiff
path: root/www/mod_authenticache
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-03-20 12:35:41 +0000
committerClement Laforet <clement@FreeBSD.org>2004-03-20 12:35:41 +0000
commitea6e10cfc4c54ad3a3028dc799a5bf579365f9f8 (patch)
tree3e022344ab350023ce18dbe673850571531963a7 /www/mod_authenticache
parent6b583c745ffe0ba5b9823aa02b70bad5cc6ac9e3 (diff)
downloadports-ea6e10cfc4c54ad3a3028dc799a5bf579365f9f8.tar.gz
ports-ea6e10cfc4c54ad3a3028dc799a5bf579365f9f8.zip
Notes
Diffstat (limited to 'www/mod_authenticache')
-rw-r--r--www/mod_authenticache/Makefile8
-rw-r--r--www/mod_authenticache/files/patch-Makefile10
2 files changed, 7 insertions, 11 deletions
diff --git a/www/mod_authenticache/Makefile b/www/mod_authenticache/Makefile
index be248ec7da1e..a0477e4934ec 100644
--- a/www/mod_authenticache/Makefile
+++ b/www/mod_authenticache/Makefile
@@ -18,10 +18,4 @@ WITH_APACHE2= YES
USE_GMAKE= YES
MAKE_ENV+= APXS="${APXS}"
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
-BROKEN= "Does not compile on amd64 or ia64 (shared library objects must be compiled with -fPIC)"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/www/mod_authenticache/files/patch-Makefile b/www/mod_authenticache/files/patch-Makefile
index bb86fc4e07b9..e35c93ca4801 100644
--- a/www/mod_authenticache/files/patch-Makefile
+++ b/www/mod_authenticache/files/patch-Makefile
@@ -1,6 +1,6 @@
--- Makefile.orig Sat Mar 6 02:03:42 2004
-+++ Makefile Mon Mar 8 11:36:41 2004
-@@ -3,16 +3,18 @@
++++ Makefile Sat Mar 20 12:43:15 2004
+@@ -3,25 +3,27 @@
NAME = mod_authenticache
VERSION = 2.0.8
@@ -22,8 +22,10 @@
+ $(CC) $(FLGS) -fPIC -shared -o $@ $^ $(LIBS)
.c.o: $<
- $(CC) $(FLGS) -c $< $(INCS) $(DEFS)
-@@ -21,7 +23,7 @@
+- $(CC) $(FLGS) -c $< $(INCS) $(DEFS)
++ $(CC) $(FLGS) -fPIC -c $< $(INCS) $(DEFS)
+
+ clean:
-rm -f *.o *.so
install: $(NAME).so