Skip to content

Commit

Permalink
Patch configure instead of configure.in so USE_AUTOTOOLS can be removed.
Browse files Browse the repository at this point in the history
  • Loading branch information
TijlCoosemans committed Jan 14, 2018
1 parent 74de47b commit 931150c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 34 deletions.
8 changes: 4 additions & 4 deletions mail/qpopper/Makefile
Expand Up @@ -13,10 +13,10 @@ MAINTAINER= bc979@lafn.org
COMMENT= Berkeley POP 3 server (now maintained by Qualcomm)

USES= compiler:features
USE_AUTOTOOLS= autoconf
GNU_CONFIGURE= yes
CONFIGURE_ENV= OS_DEFS="-DSETPROCTITLE ${OS_DEFS}"
CONFIGURE_ARGS= --enable-nonauth-file=${POPUSERS_FILE} \
--without-gdbm \
--without-gdbm ac_cv_header_gdbm_h=no \
--enable-keep-temp-drop
LIBS+= -L${LOCALBASE}/lib -lcrypt -lmd -lutil

Expand Down Expand Up @@ -124,13 +124,13 @@ CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE}

post-patch:
.if ${COMPILER_TYPE} == clang
@${REINPLACE_CMD} -e 's|-freg-struct-return||' ${WRKSRC}/configure.in
@${REINPLACE_CMD} -e 's|-freg-struct-return||' ${WRKSRC}/configure
.endif
@${RM} ${WRKSRC}/popper/md5.h
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/man/*
@${REINPLACE_CMD} -e \
's|\$${sbindir}/sendmail|${LOCALBASE}/sbin/sendmail|g' \
${WRKSRC}/configure.in
${WRKSRC}/configure
.if ${PORT_OPTIONS:MPOPPASSD}
@${REINPLACE_CMD} -e 's|/usr/bin/smbpasswd|${LOCALBASE}/bin/smbpasswd|' \
${WRKSRC}/password/poppassd.c
Expand Down
30 changes: 0 additions & 30 deletions mail/qpopper/files/patch-configure.in

This file was deleted.

0 comments on commit 931150c

Please sign in to comment.