| Summary: | [patch] port mail/sqlgrey make with -DWITH_PGSQL | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Olli Hauer <ohauer> | ||||
| Component: | Individual Port(s) | Assignee: | Alejandro Pulver <alepulver> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
Responsible Changed From-To: freebsd-ports-bugs->alepulver I'll take it. State Changed From-To: open->closed Committed. Thanks! alepulver 2006-11-06 19:46:25 UTC
FreeBSD ports repository
Modified files:
mail/sqlgrey Makefile
mail/sqlgrey/files pkg-install.in
Log:
- Typo in Makefile (RUN_DEPENDS) prevent mail/sqlgrey from install with
pgsql support.
- Some cosmetic cleanup patch for fresh install.
PR: ports/104881
Submitted by: Olli Hauer <ohauer@gmx.de>
Revision Changes Path
1.11 +1 -1 ports/mail/sqlgrey/Makefile
1.2 +5 -5 ports/mail/sqlgrey/files/pkg-install.in
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
|
typo in Makefile (RUN_DEPENDS) prevent mail/sqlgrey from install with pgsql support + some cosmetic cleanup patch for fresh install. the full user name shuld by 'Sqlgrey Owner' and not 'Postgrey Owner' (this is the full user name from the mail/postgrey port) Fix: .if defined(WITH_PGSQL) -RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/pg.pm:${PORTSDIR}/databases/p5-DBD-Pg +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg .elif defined(WITH_MYSQL) RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql .elif defined(WITH_SQLITE) # Create home directory if required if [ -d "%%DATADIR%%" ]; then - echo "---> Using existing Postgrey database directory (%%DATADIR%%)" - echo " (There may be existing active postgrey databases - this installation" + echo "---> Using existing Sqlgrey database directory (%%DATADIR%%)" + echo " (There may be existing active sqlgrey databases - this installation" echo " will attempt to preserve them.)" else - echo "---> Creating Postgrey database directory (%%DATADIR%%)" + echo "---> Creating Sqlgrey database directory (%%DATADIR%%)" (umask 002 && /bin/mkdir -p "%%DATADIR%%") || exit 1 /usr/sbin/chown -R "%%USER%%:%%GROUP%%" "%%DATADIR%%" || exit 1 /bin/chmod g+s "%%DATADIR%%" || exit 1--nwjEufUkpnVaKexRDi5MDXR4kag6W9m9xWxeBWBOZxGc6mea Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- Makefile.orig Sat Sep 16 22:54:19 2006 +++ Makefile Sat Oct 14 23:05:01 2006 @@ -19,7 +19,7 @@ ${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-Pod-Parser How-To-Repeat: cd /usr/ports/mail/sqlgrey; make install -DWITH_PGSQL