1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/mail/cyrus-imapd23/files/patch-bc
Hajimu UMEMOTO cf8c5ef050 make sure to set mode for created directory.
Reported by:	"Pascal HOARAU" <pascal@hh.nl>
2004-03-10 16:55:40 +00:00

34 lines
1.3 KiB
Plaintext

Index: imap/Makefile.in
diff -u imap/Makefile.in.orig imap/Makefile.in
--- imap/Makefile.in.orig Wed Nov 12 13:02:01 2003
+++ imap/Makefile.in Thu Mar 11 01:16:00 2004
@@ -132,10 +132,10 @@
install:
- $(srcdir)/../install-sh -d ${DESTDIR}$(service_path)
+ $(INSTALL) -d ${DESTDIR}$(service_path)
for file in $(PROGS); \
do \
- $(INSTALL) -m 755 $$file $(DESTDIR)$(service_path) || exit 1; \
+ $(INSTALL) -s -m 755 $$file $(DESTDIR)$(service_path) || exit 1; \
done
ln -f $(DESTDIR)$(service_path)/pop3d $(DESTDIR)$(service_path)/pop3proxyd
@@ -242,13 +242,13 @@
$(CC) $(LDFLAGS) -o mupdate \
$(SERVICETHREAD) mupdate.o mupdate-slave.o mupdate-client.o \
mutex_pthread.o tls.o libimap.a \
- $(DEPLIBS) $(LIBS) $(LIB_WRAP) -lpthread
+ $(DEPLIBS) $(LIBS) $(LIB_WRAP) $(PTHREAD_LIBS)
mupdate.pure: mupdate.o mupdate-slave.o mupdate-client.o mutex_pthread.o \
libimap.a $(DEPLIBS)
$(PURIFY) $(PUREOPT) $(CC) $(LDFLAGS) -o mupdate.pure \
$(SERVICETHREAD) mupdate.o mupdate-slave.o mupdate-client.o \
- mutex_pthread.o libimap.a $(DEPLIBS) $(LIBS) $(LIB_WRAP) -lpthread
+ mutex_pthread.o libimap.a $(DEPLIBS) $(LIBS) $(LIB_WRAP) $(PTHREAD_LIBS)
pop3d: pop3d.o backend.o tls.o mutex_fake.o libimap.a $(DEPLIBS) $(SERVICE)
$(CC) $(LDFLAGS) -o pop3d pop3d.o backend.o tls.o $(SERVICE) \