summaryrefslogtreecommitdiff
path: root/www/ap-xslt/patches/patch-aa
blob: b9a9d4772fedd4e4817154a364cceaec586aba8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-aa,v 1.2 2001/10/23 17:21:57 jwise Exp $
--- Makefile.orig	Wed Aug 23 22:30:50 2000
+++ Makefile	Tue Sep 25 15:12:22 2001
@@ -1,12 +1,12 @@
 #   the used tools
-APXS=/usr/local/lib/httpd/bin/apxs
+APXS=${PREFIX}/sbin/apxs
 
 #   the default target
 all: mod_xslt.so
 
 #   compile the shared object file
 mod_xslt.so: mod_xslt.c
-	$(APXS) -c mod_xslt.c -o mod_xslt.so
+	$(APXS) -c -I${LOCALBASE}/include mod_xslt.c -o mod_xslt.so -L${LOCALBASE}/lib -R${LOCALBASE}/lib -lsablot -lstdc++ -lm
 
 #   cleanup
 clean: