diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-03-20 09:40:16 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-03-20 09:40:16 +0000 |
commit | 6dab5123854f47196c406188d33a453329a8e86c (patch) | |
tree | add0fb3d2a02805211ca507be5ae213ad08b9e47 /mail/fetchmail | |
parent | Update to Ming 0.1.0. (diff) |
Fix two breakages:
- Prevent Makefile from trying to run 644 missing script when no autocrap
is installed;
- add missed by the configure -lintl into LDFLAGS.
Replace perl with ${PERL} while I'm here.
Submitted by: bento
Notes
Notes:
svn path=/head/; revision=40087
Diffstat (limited to 'mail/fetchmail')
-rw-r--r-- | mail/fetchmail/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/fetchmail/Makefile b/mail/fetchmail/Makefile index d2d0b4f7eef7..65b80505e426 100644 --- a/mail/fetchmail/Makefile +++ b/mail/fetchmail/Makefile @@ -27,7 +27,7 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-opie --enable-RPA --enable-POP2 --enable-SDPS \ --enable-nls --with-hesiod=no CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" \ + LDFLAGS="-L${LOCALBASE}/lib -lintl" \ CFLAGS="-I${LOCALBASE}/include ${CFLAGS}" MAKE_ENV+= ${CONFIGURE_ENV} MAN1= fetchmail.1 @@ -60,8 +60,9 @@ FDOC= ${PREFIX}/share/doc/fetchmail pre-patch: @${CP} -f /usr/include/md5.h ${WRKSRC} - @perl -pi.bak -e 's|^#!/.*/python|#!${PREFIX}/bin/python|;' ${WRKSRC}/fetchmailconf + @${PERL} -pi.bak -e 's|^#!/.*/python|#!${PREFIX}/bin/python|;' ${WRKSRC}/fetchmailconf @${SED} -e "s|@PREFIX@|${PREFIX}|" ${FILESDIR}/fetchmailconf > ${WRKDIR}/fetchmailconf + @${PERL} -pi.bak -e 's|\$$missing_dir/missing|${TRUE}|g' ${WRKSRC}/configure post-install: .if !defined(NOPORTDOCS) |