force creation of proper symlink durring post-install and remove

unnecessary patch
This commit is contained in:
brad 2000-07-15 07:18:01 +00:00
parent 5aaaf2db56
commit 3e025283d0
2 changed files with 4 additions and 14 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.47 2000/07/08 08:54:01 fgsch Exp $
# $OpenBSD: Makefile,v 1.48 2000/07/15 07:18:01 brad Exp $
DISTNAME= fetchmail-5.4.3
CATEGORIES= mail
@ -16,11 +16,11 @@ PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= gnu dest
CONFIGURE_ARGS+= --disable-nls --enable-inet6
FLAVORS= kerberos ssl
FLAVOR?=
CONFIGURE_ARGS+= --disable-nls --enable-inet6
.if ${FLAVOR:L} == "kerberos"
CONFIGURE_ARGS+= --with-kerberos
.endif
@ -30,6 +30,7 @@ CONFIGURE_ARGS+= --with-ssl
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fetchmail
@cd ${PREFIX}/man/man1 && ln -sf fetchmail.1 fetchmailconf.1
cd ${WRKSRC} && ${INSTALL_DATA} \
sample.rcfile FAQ NOTES FEATURES README COPYING \
fetchmail-FAQ.html fetchmail-features.html \

View File

@ -1,11 +0,0 @@
--- Makefile.in.orig Fri Apr 21 04:46:38 2000
+++ Makefile.in Tue Apr 25 12:18:28 2000
@@ -156,7 +156,7 @@ install:
@echo "Installing manual page..."
$(INSTALL_DATA) $(srcdir)/fetchmail.man $(mandir)/fetchmail.$(manext)
rm -f $(mandir)/fetchmailconf.$(manext)
- ln -s $(mandir)/fetchmail.$(manext) $(mandir)/fetchmailconf.$(manext)
+ cd $(mandir) && ln -s fetchmail.$(manext) fetchmailconf.$(manext)
@echo "Installing language catalogs..."
@POMAKE@ install