Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jun 2014 04:55:56 +0000 (UTC)
From:      Yen-Ming Lee <leeym@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r359454 - head/mail/pop3vscan
Message-ID:  <201406270455.s5R4tuWb041188@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: leeym
Date: Fri Jun 27 04:55:55 2014
New Revision: 359454
URL: http://svnweb.freebsd.org/changeset/ports/359454
QAT: https://qat.redports.org/buildarchive/r359454/

Log:
  - add USE_GCC=yes and fix STAGEDIR in pkg-install
  - remove DEPRECATED and EXPIRATION_DATE

Modified:
  head/mail/pop3vscan/Makefile
  head/mail/pop3vscan/pkg-install

Modified: head/mail/pop3vscan/Makefile
==============================================================================
--- head/mail/pop3vscan/Makefile	Fri Jun 27 04:53:37 2014	(r359453)
+++ head/mail/pop3vscan/Makefile	Fri Jun 27 04:55:55 2014	(r359454)
@@ -13,8 +13,9 @@ COMMENT=	A transparent POP3-Proxy with v
 LIB_DEPENDS=	pcre.3:${PORTSDIR}/devel/pcre
 
 USES=		gmake
+USE_GCC=	yes
 MAKE_ENV=	_LDFLAGS="${LDFLAGS}"
-SCRIPTS_ENV=	PKG_PREFIX=${PREFIX} NONEXISTENT=${NONEXISTENT} PASSWD=/etc/passwd
+SCRIPTS_ENV=	PKG_PREFIX=${PREFIX} NONEXISTENT=${NONEXISTENT} PASSWD=/etc/passwd STAGEDIR=${STAGEDIR}
 
 PLIST_FILES=	etc/pop3vscan.conf.sample \
 		etc/pop3vscan.mail.sample \
@@ -23,13 +24,11 @@ PLIST_FILES=	etc/pop3vscan.conf.sample \
 
 SUB_FILES=	pkg-message
 
-DEPRECATED=	No longer maintained by upstream
-EXPIRATION_DATE=2014-08-24
-
 post-extract:
 	@${RM} ${WRKSRC}/ripmime/ripmime.a
 
 post-patch:
+	@${REINPLACE_CMD} -e "/CC/s,gcc,${CC},g" ${WRKSRC}/Makefile ${WRKSRC}/ripmime/Makefile ${WRKSRC}/ripmime/tnef/Makefile
 	@${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,g' ${WRKSRC}/*.c
 	@${REINPLACE_CMD} -e 's,#endif.*,#endif,g' ${WRKSRC}/*.h
 	@${REINPLACE_CMD} -e 's,make,${MAKE_CMD},g' ${WRKSRC}/ripmime/build_tnef

Modified: head/mail/pop3vscan/pkg-install
==============================================================================
--- head/mail/pop3vscan/pkg-install	Fri Jun 27 04:53:37 2014	(r359453)
+++ head/mail/pop3vscan/pkg-install	Fri Jun 27 04:55:55 2014	(r359454)
@@ -109,7 +109,7 @@ EOF
 
     user=pop3vscan
     group=mail
-    spooldir=/var/spool/pop3vscan
+    spooldir=${STAGEDIR}/var/spool/pop3vscan
     etcdir=${PREFIX:-$PKG_PREFIX}/etc
 
     echo ""



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406270455.s5R4tuWb041188>