ports/51094: [MAINTAINER] mail/anubis: USE_GETOPT_LONG, cosmetique
Sergei Kolobov
sergei at kolobov.com
Thu Apr 17 13:20:15 UTC 2003
>Number: 51094
>Category: ports
>Synopsis: [MAINTAINER] mail/anubis: USE_GETOPT_LONG, cosmetique
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Thu Apr 17 06:20:13 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Sergei Kolobov
>Release: FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD outpost.globcon.net 4.7-STABLE FreeBSD 4.7-STABLE #0: Thu Jan 2 03:13:48 MSK
>Description:
- Convert to USE_GETOPT_LONG
- Cosmetique: whitespace changes
- Cosmetique: unroll .for loop in post-install
Tested on: 4.8-STABLE, 5.0-CURRENT
>How-To-Repeat:
>Fix:
--- anubis-3.6.2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/anubis/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- Makefile 21 Feb 2003 12:42:12 -0000 1.14
+++ Makefile 17 Apr 2003 13:09:06 -0000
@@ -17,23 +17,21 @@
#
###########################################################################
-PORTNAME= anubis
-PORTVERSION= 3.6.2
-CATEGORIES= mail
-MASTER_SITES= ${MASTER_SITE_GNU}
+PORTNAME= anubis
+PORTVERSION= 3.6.2
+CATEGORIES= mail
+MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= sergei at kolobov.com
-COMMENT= Outgoing SMTP mail processor
+MAINTAINER= sergei at kolobov.com
+COMMENT= Outgoing SMTP mail processor
-LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
-
-USE_REINPLACE= yes
-GNU_CONFIGURE= yes
+USE_REINPLACE= yes
+USE_GETOPT_LONG= yes
+GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt" \
- MAKEINFO="makeinfo --no-split"
+CONFIGURE_ENV= MAKEINFO="makeinfo --no-split" LDFLAGS="${LDFLAGS}"
+LDFLAGS+= -L${LOCALBASE}/lib
# Select TLS/SSL API: either OpenSSL (default), GnuTLS, or none
.if defined(WITH_GNUTLS)
@@ -118,9 +116,7 @@
.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for file in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
-.endfor
+ cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>
--- anubis-3.6.2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list