summaryrefslogtreecommitdiff
path: root/comms/fidogate/patches/patch-ae
blob: 408f1681149bd9a59a8734d6bfee935c456c18a6 (plain)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
$NetBSD: patch-ae,v 1.4 2009/12/18 01:09:23 abs Exp $

--- Makefile.orig	2003-06-08 21:01:25.000000000 +0000
+++ Makefile
@@ -9,7 +9,7 @@ TOPDIR		= .
 include $(TOPDIR)/config.make
 include $(TOPDIR)/rules.make
 
-SUBDIRS		= src scripts test doc sendmail
+SUBDIRS		= src scripts test doc
 
 INSTALLDIRS	= $(DEFAULT_V_CONFIGDIR) \
 		  $(DEFAULT_V_LIBDIR) \
@@ -51,29 +51,29 @@ clean veryclean::
 	rm -f *~ *.bak *.o tags TAGS core
 
 install-dirs:
-	for d in $(INSTALLDIRS); do if [ ! -d $(PREFIX)$$d ]; then \
-	    echo "Creating $$d ..."; $(INSTALL_DIR) $(PREFIX)$$d; \
+	for d in $(INSTALLDIRS); do if [ ! -d $(DESTDIR)$(PREFIX)$$d ]; then \
+	    echo "Creating $$d ..."; $(INSTALL_DIR) $(DESTDIR)$(PREFIX)$$d; \
 	fi; done
 
 install-uuin:
-	if [ ! -d $(PREFIX)$(DEFAULT_V_UUINBOUND) ]; then \
-	    $(INSTALL_DIR) $(PREFIX)$(DEFAULT_V_UUINBOUND); \
+	if [ ! -d $(DESTDIR)$(PREFIX)$(DEFAULT_V_UUINBOUND) ]; then \
+	    $(INSTALL_DIR) $(DESTDIR)$(PREFIX)$(DEFAULT_V_UUINBOUND); \
 	fi
-	chgrp mail $(PREFIX)$(DEFAULT_V_UUINBOUND)
-	chmod g+w  $(PREFIX)$(DEFAULT_V_UUINBOUND)
+	chgrp mail $(DESTDIR)$(PREFIX)$(DEFAULT_V_UUINBOUND)
+	chmod g+w  $(DESTDIR)$(PREFIX)$(DEFAULT_V_UUINBOUND)
 
 install::
-	cp ANNOUNCE $(PREFIX)$(HTMLDIR)
+	cp ANNOUNCE $(DESTDIR)$(PREFIX)$(HTMLDIR)
 
 install-html::
-	cp ANNOUNCE $(PREFIX)$(HTMLDIR)
+	cp ANNOUNCE $(DESTDIR)$(PREFIX)$(HTMLDIR)
 	$(MAKE) -C doc/html install
 	$(MAKE) -C doc/gatebau install
 
 install-spec-src:
-	if [ -d $(RPMSPECSDIR) ]; then \
-	  cp fidogate.spec $(RPMSPECSDIR); \
-	  cp /var/tmp/fidogate-[0-9].*.tar.gz $(RPMSOURCESDIR); \
+	if [ -d $(DESTDIR)$(RPMSPECSDIR) ]; then \
+	  cp fidogate.spec $(DESTDIR)$(RPMSPECSDIR); \
+	  cp /var/tmp/fidogate-[0-9].*.tar.gz $(DESTDIR)$(RPMSOURCESDIR); \
 	fi
 
 install-config: