freebsd-ports/mail/qmail/files/patch-Makefile
Renato Botelho 19760f48f0 - Make qmail use USERS and GROUPS [1]
- Add my local_distfiles as a MASTER_SITES to ucspi-ssl

PR:		ports/157622 [1]
Submitted by:	crees [1]
2011-07-18 20:55:29 +00:00

31 lines
1.1 KiB
Text

$FreeBSD$
This turns off the auto-finding of UIDs -- we shouldn't have the users
until pre-install!
We use a new file, auto_uids.c.dist to record our UIDs
--- Makefile.orig 2011-06-05 10:00:58.752481173 +0100
+++ Makefile 2011-06-05 10:04:27.265135390 +0100
@@ -110,19 +110,8 @@
compile auto_split.c
./compile auto_split.c
-auto_uids.c: \
-auto-uid auto-gid conf-users conf-groups
- ( ./auto-uid auto_uida `head -1 conf-users` \
- &&./auto-uid auto_uidd `head -2 conf-users | tail -1` \
- &&./auto-uid auto_uidl `head -3 conf-users | tail -1` \
- &&./auto-uid auto_uido `head -4 conf-users | tail -1` \
- &&./auto-uid auto_uidp `head -5 conf-users | tail -1` \
- &&./auto-uid auto_uidq `head -6 conf-users | tail -1` \
- &&./auto-uid auto_uidr `head -7 conf-users | tail -1` \
- &&./auto-uid auto_uids `head -8 conf-users | tail -1` \
- &&./auto-gid auto_gidq `head -1 conf-groups` \
- &&./auto-gid auto_gidn `head -2 conf-groups | tail -1` \
- ) > auto_uids.c.tmp && mv auto_uids.c.tmp auto_uids.c
+auto_uids.c:
+ mv auto_uids.c.dist auto_uids.c
auto_uids.o: \
compile auto_uids.c