aboutsummaryrefslogtreecommitdiffstats
path: root/mail/pop3vscan/files/patch-Makefile
blob: dcd479f756034f02b7d1754d6602a19a19ee9db6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- Makefile.orig   Wed Jun 12 08:19:05 2002
+++ Makefile    Tue Jun  3 03:23:37 2003
@@ -21,11 +21,10 @@
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 #
 
-PREFIX=/usr
 CC=gcc
 #CFLAGS=-Wall -ggdb
-CFLAGS=-Wall -O2
-LDFLAGS=-L. -lmime -lpcre #-static
+CFLAGS=-Wall -O2 -I$(LOCALBASE)/include -DPREFIX=\"${PREFIX}\"
+LDFLAGS=-L. -lmime -lpcre -L$(LOCALBASE)/lib $(_LDFLAGS) #-static
 
 OBJECTS=getline.o parsefile.o pop3vscan.o \
    scanner_basic.o scanner_avpd.o scanner_trophie.o
@@ -50,8 +49,8 @@
 
 dep depend .dep:
    @echo "creating depencies"
-   rm .tmp.dep -f
-   @find -name "*.c"   -maxdepth 1 -print0 | xargs -n 1 -0rt $(CC) -M $(CFLAGS)  >>.tmp.dep
+   rm -f .tmp.dep 
+   @find . -name "*.c" -maxdepth 1 -print0 | xargs -n 1 -0t $(CC) -M $(CFLAGS)  >>.tmp.dep
    mv .tmp.dep .dep
        
 install: pop3vscan