From owner-freebsd-ports Sun May 30 20:38:42 1999 Delivered-To: freebsd-ports@freebsd.org Received: from november.jaded.net (november.jaded.net [209.90.128.250]) by hub.freebsd.org (Postfix) with ESMTP id E849015090 for ; Sun, 30 May 1999 20:38:39 -0700 (PDT) (envelope-from dan@november.jaded.net) Received: (from dan@localhost) by november.jaded.net (8.9.3/8.9.3+trinsec_nospam) id XAA52157 for ports@freebsd.org; Sun, 30 May 1999 23:46:16 -0400 (EDT) Date: Sun, 30 May 1999 23:46:16 -0400 From: Dan Moschuk To: ports@freebsd.org Subject: Small Makefile patch for MySQL Message-ID: <19990530234616.B52096@trinsec.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Greetings, The following patch is a quick hack against the mysql322 Makefile to allow the building of a client-only install. I hope it can be useful. Regards, -Dan *** Makefile Thu May 20 11:44:07 1999 --- Makefile.old Thu May 20 11:34:01 1999 *************** *** 26,37 **** --without-perl \ --without-debug \ --without-readline \ ! --without-bench ! ! .if defined(CLIENT_ONLY) ! CONFIGURE_ARGS+= --without-server ! .endif ! CONFIGURE_ENV+= PERL=${PERL} \ PERL5=${PERL} \ INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ --- 26,33 ---- --without-perl \ --without-debug \ --without-readline \ ! --without-bench \ ! --without-server CONFIGURE_ENV+= PERL=${PERL} \ PERL5=${PERL} \ INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ *************** *** 76,85 **** post-install: ${MKDIR} ${PREFIX}/share/mysql/mysql ! .if !defined(PACKAGE_BUILDING) && !defined(CLIENT_ONLY) ${PREFIX}/bin/mysql_install_db .endif - .if !defined(CLIENT_ONLY) @ ${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/mysql.sh @ ${ECHO} "#" >> ${PREFIX}/etc/rc.d/mysql.sh @ ${ECHO} "" >> ${PREFIX}/etc/rc.d/mysql.sh --- 72,80 ---- post-install: ${MKDIR} ${PREFIX}/share/mysql/mysql ! .if !defined(PACKAGE_BUILDING) ${PREFIX}/bin/mysql_install_db .endif @ ${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/mysql.sh @ ${ECHO} "#" >> ${PREFIX}/etc/rc.d/mysql.sh @ ${ECHO} "" >> ${PREFIX}/etc/rc.d/mysql.sh *************** *** 90,96 **** @ ${ECHO} " ${PREFIX}/bin/safe_mysqld > /dev/null & && ${ECHO} -n ' mysql'" >> ${PREFIX}/etc/rc.d/mysql.sh @ ${ECHO} "fi" >> ${PREFIX}/etc/rc.d/mysql.sh @ /bin/chmod 750 ${PREFIX}/etc/rc.d/mysql.sh - .endif .if !defined(NOPORTDOCS) ${MKDIR} ${PREFIX}/share/doc/mysql --- 85,90 ---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message