From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jul 31 05:50:15 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F018337B401 for ; Thu, 31 Jul 2003 05:50:15 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D9CA43F93 for ; Thu, 31 Jul 2003 05:50:15 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h6VCoFUp045915 for ; Thu, 31 Jul 2003 05:50:15 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h6VCoFiF045912; Thu, 31 Jul 2003 05:50:15 -0700 (PDT) Date: Thu, 31 Jul 2003 05:50:15 -0700 (PDT) Message-Id: <200307311250.h6VCoFiF045912@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Clement Laforet Subject: Re: ports/54887: [new port] mail/dbmail: An SQL database-based mail system (POP3 and IMAP) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Clement Laforet List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jul 2003 12:50:16 -0000 The following reply was made to PR ports/54887; it has been noted by GNATS. From: Clement Laforet To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: Re: ports/54887: [new port] mail/dbmail: An SQL database-based mail system (POP3 and IMAP) Date: Thu, 31 Jul 2003 14:45:33 +0200 misc cleanup to make "portlint -A" happy ;o) diff -Nru dbmail.orig/Makefile dbmail/Makefile --- dbmail.orig/Makefile Thu Jul 31 14:42:41 2003 +++ dbmail/Makefile Thu Jul 31 14:40:12 2003 @@ -9,6 +9,7 @@ PORTVERSION= 1.1 CATEGORIES= mail MASTER_SITES= http://www.dbmail.org/tgz/ +PKGNAMESUFFIX= -${DATABASE} EXTRACT_SUFX= .tgz MAINTAINER= sheepkiller@cultdeadsheep.org @@ -20,8 +21,8 @@ # MySQL deps hack MYSQL323_LIBVER=10 -MYSQL40_LIBVER= 12 -MYSQL41_LIBVER= 14 +MYSQL40_LIBVER= 12 +MYSQL41_LIBVER= 14 .include @@ -46,14 +47,13 @@ PLIST_SUB+= MYSQL="@comment " .else CONFIGURE_ARGS+= --with-mysql -LIB_DEPENDS+= mysqlclient.${MYSQL${MYSQL_VER}_LIBVER}:${PORTSDIR}/databases/mysql${MYSQL_VER}-client +LIB_DEPENDS+= mysqlclient.${MYSQL${MYSQL_VER}_LIBVER}:${PORTSDIR}/databases/mysql${MYSQL_VER}-client DATABASE= mysql PLIST_SUB+= MYSQL="" PLIST_SUB+= PGSQL="@comment " .endif CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib/ -L${LOCALBASE}/lib/${DATABASE}" -PKGNAMESUFFIX= -${DATABASE} FILES_TO_PATCH= imapd.c main.c maintenance.c pop3d.c user.c DOCS= INSTALL README @@ -71,9 +71,9 @@ @${ECHO} "" post-configure: -.for file in ${FILES_TO_PATCH} +.for FILE in ${FILES_TO_PATCH} @${REINPLACE_CMD} -i.orig 's!/etc/dbmail.conf!${PREFIX}/etc/dbmail.conf!g' \ - ${WRKSRC}/${file} + ${WRKSRC}/${FILE} .endfor post-install: diff -Nru dbmail.orig/pkg-plist dbmail/pkg-plist --- dbmail.orig/pkg-plist Thu Jul 31 14:42:41 2003 +++ dbmail/pkg-plist Thu Jul 31 14:36:04 2003 @@ -32,7 +32,6 @@ %%PGSQL%%share/dbmail/sql/update_encryption.pgsql %%PORTDOCS%%%%DOCSDIR%%/INSTALL %%PORTDOCS%%%%DOCSDIR%%/README -@unexec rmdir %D/share/dbmail/sql -@unexec rmdir %D/share/dbmail -@unexec rmdir %D/%%DOCSDIR%% - +@dirrm share/dbmail/sql +@dirrm share/dbmail +@dirrm %%DOCSDIR%%