ports/87537: Update port: mail/asmail to 1.8

KATO Tsuguru tkato432 at yahoo.com
Sun Oct 16 19:10:21 UTC 2005


>Number:         87537
>Category:       ports
>Synopsis:       Update port: mail/asmail to 1.8
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 16 19:10:15 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p13 i386
>Organization:
>Environment:
>Description:
- Update to version 1.8

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/mail/asmail/Makefile mail/asmail/Makefile
--- /usr/ports/mail/asmail/Makefile	Mon Mar 14 01:26:09 2005
+++ mail/asmail/Makefile	Sun Oct 16 11:47:44 2005
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	asmail
-PORTVERSION=	1.7
+PORTVERSION=	1.8
 CATEGORIES=	mail afterstep
 MASTER_SITES=	http://www.tigr.net/afterstep/download/asmail/
 
@@ -18,18 +18,20 @@
 USE_OPENSSL=	yes
 USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
+CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
 CONFIGURE_ARGS=	--enable-shaping
 
 MAN1=	asmail.1x
 MAN5=	asmailrc.5x
 
+CPPFLAGS=	${PTHREAD_CFLAGS}
+LDFLAGS=	${PTHREAD_LIBS} -lssl -lcrypto
+
 post-patch:
-.for file in configure autoconf/Makefile.defines.in
-	@${REINPLACE_CMD} -e 's|-lpthread -lrt|${PTHREAD_LIBS}|g ; \
-		 s|-lssl|-lcrypto -lssl|g ; \
-		 s|-D_REENTRANT|-D_REENTRANT ${PTHREAD_CFLAGS}|g ; \
-		 s|machine/soundcard|sys/soundcard|g' ${WRKSRC}/${file}
-.endfor
+	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+		 s|machine/soundcard|sys/soundcard|g' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e 's|@CFLAGS@ -D|@CFLAGS@ @CPPFLAGS@ -D|g ; \
+		 s|-lpthread -lrt|@LDFLAGS@|g' ${WRKSRC}/autoconf/Makefile.defines.in
 	@${REINPLACE_CMD} -e \
 		's|/usr/local|${PREFIX}|g' ${WRKSRC}/asmailrc.sample
 
diff -urN /usr/ports/mail/asmail/distinfo mail/asmail/distinfo
--- /usr/ports/mail/asmail/distinfo	Mon Mar 14 01:26:09 2005
+++ mail/asmail/distinfo	Sun Oct 16 11:30:05 2005
@@ -1,2 +1,2 @@
-MD5 (asmail-1.7.tar.gz) = 2fb24aa491fa3088710a10876e86cebe
-SIZE (asmail-1.7.tar.gz) = 267156
+MD5 (asmail-1.8.tar.gz) = e8c21f149e3849bb6d5d6eab82010a89
+SIZE (asmail-1.8.tar.gz) = 267267
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list