Date: Wed, 31 May 2006 06:10:46 GMT From: Koobs <com.dot.geemail@eyecue> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/98197: [patch] mail/ezmlm-idx - mysql/pgsql support broken Message-ID: <200605310610.k4V6AkOU080929@www.freebsd.org> Resent-Message-ID: <200605310620.k4V6KIJr020842@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 98197 >Category: ports >Synopsis: [patch] mail/ezmlm-idx - mysql/pgsql support broken >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: Wed May 31 06:20:18 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Koobs >Release: 6.1-RC Wed Apr 19 16:01:19 EST 2006 >Organization: >Environment: FreeBSD unsane.pricewatch 6.1-RC FreeBSD 6.1-RC #2: Wed Apr 19 16:01:19 EST 2006 root@unsane.pricewatch:/usr/obj/usr/src/sys/UNSANE i386 >Description: MySQL/PostgreSQL support is broken when using WITH_MYSQL knob, and compiles programs from sub-directory 'sub_std' as per the default distfile layout. INSTALL.idx doc mentions a make mysql target, which relinks the appropriate files to the proper sub_[my|pg]sql directory. Symptoms where non-mysql enabled programs, and a weird ezmlm-mktab script containing "This is the default database version ...etc" instead of the proper table creation routines. >How-To-Repeat: 1) cd /usr/ports/mail/ezmlm-idx && make -DWITH_MYSQL install clean 2) cat /usr/local/bin/ezmlm-mktab >Fix: diff -urN ezmlm-idx.orig/Makefile ezmlm-idx/Makefile --- ezmlm-idx.orig/Makefile Wed May 31 15:10:49 2006 +++ ezmlm-idx/Makefile Wed May 31 15:21:38 2006 @@ -92,6 +92,13 @@ @${REINPLACE_CMD} -e 's,/etc/ezmlm/,${PREFIX}/etc/ezmlm/,' \ ${WRKSRC}/idx.h +pre-configure: +.if defined(WITH_MYSQL) + @cd ${WRKSRC} && ${MAKE} mysql +.elif defined(WITH_POSTGRESQL) + @cd ${WRKSRC} && ${MAKE} pgsql +.endif + do-install: cd ${WRKSRC} && \ ${INSTALL_PROGRAM} ${PROGRAMS} ${PREFIX}/bin && \ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605310610.k4V6AkOU080929>