Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jul 2003 05:50:15 -0700 (PDT)
From:      Clement Laforet <sheepkiller@cultdeadsheep.org>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/54887: [new port] mail/dbmail: An SQL database-based mail system (POP3 and IMAP)
Message-ID:  <200307311250.h6VCoFiF045912@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/54887; it has been noted by GNATS.

From: Clement Laforet <sheepkiller@cultdeadsheep.org>
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 <bsd.port.pre.mk>
  
 @@ -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%%



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