From owner-freebsd-stable Mon Dec 27 10:32: 4 1999 Delivered-To: freebsd-stable@freebsd.org Received: from mail2.uniserve.com (mail2.uniserve.com [204.244.156.7]) by hub.freebsd.org (Postfix) with ESMTP id 16C6914F01; Mon, 27 Dec 1999 10:31:51 -0800 (PST) (envelope-from tom@uniserve.com) Received: from shell.uniserve.ca ([204.244.186.218]) by mail2.uniserve.com with smtp (Exim 3.03 #4) id 122evr-000AYC-00; Mon, 27 Dec 1999 10:31:47 -0800 Date: Mon, 27 Dec 1999 10:31:44 -0800 (PST) From: Tom X-Sender: tom@shell.uniserve.ca To: Mikhail Teterin Cc: stable@freebsd.org, ports@freebsd.org Subject: Re: -lc vs. -lc_r (building Apache-PHP) In-Reply-To: <199912271625.LAA74751@rtfm.newton> Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY=ELM946311914-74626-0_ Content-ID: Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --ELM946311914-74626-0_ Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Content-ID: On Mon, 27 Dec 1999, Mikhail Teterin wrote: ... > What's the magic and why doesn't the port know it? Why is -lc even in > play if some of the components (-lmysqlclient) require -lc_r? Yours, libmysqlclient does not require -lc_r, because the library does not use threads. Only mysqld is threaded. > -mi > > FreeBSD rtfm.newton 3.4-STABLE FreeBSD 3.4-STABLE #0: Fri Dec 17 08:49:51 EST 1999 > Tom --ELM946311914-74626-0_ Content-Type: TEXT/PLAIN; CHARSET=KOI8-R Content-ID: Content-Description: Automaticly generated by the port Content-Disposition: ATTACHMENT; FILENAME="Makefile.inc" PKGNAME= apache+php+mod_ssl-${VERSION_APACHE}+${VERSION_PHP}+${VERSION_MODSSL} DISTFILES+= mod_ssl-${VERSION_MODSSL}-${VERSION_APACHE}${EXTRACT_SUFX} BUILD_DEPENDS+= openssl:${PORTSDIR}/security/openssl \ mm-config:${PORTSDIR}/devel/mm \ ${PREFIX}/lib/libmm.a:${PORTSDIR}/devel/mm LIB_DEPENDS+= crypto.1:${PORTSDIR}/security/openssl \ ssl.1:${PORTSDIR}/security/openssl RUN_DEPENDS+= openssl:${PORTSDIR}/security/openssl VERSION_MODSSL= 2.4.9 RESTRICTED= "Contains cryptography" CONFIGURE_ARGS+=--enable-module=ssl \ --enable-module=define CONFIGURE_ENV+= SSL_BASE='SYSTEM' EAPI_MM='SYSTEM' PATH="${PREFIX}/bin:${PATH}" PLIST= ${PKGDIR}/PLIST.modssl SSL= ssl TYPE= test CRT= KEY= pre-patch: @cd ${WRKDIR}/mod_ssl-${VERSION_MODSSL}-${VERSION_APACHE} \ && ${ECHO_MSG} "===> Applying mod_ssl-${VERSION_MODSSL} extension" \ && ./configure --with-apache=../${DISTNAME} --expert post-patch: @cd ${WRKSRC} \ && find . -type f -name "*.orig" -print | xargs ${RM} -f post-build: @cd ${WRKSRC} \ && ${ECHO_MSG} "===> Creating Dummy Certificate for Server (SnakeOil)" \ && ${ECHO_MSG} " [use 'make certificate' to create a real one]" \ && ${MAKE} certificate TYPE=dummy >/dev/null 2>&1 certificate: @cd ${WRKSRC} \ && ${ECHO_MSG} "===> Creating Test Certificate for Server" \ && ${MAKE} certificate TYPE=$(TYPE) CRT=$(CRT) KEY=$(KEY) BUILD_DEPENDS+= ${PREFIX}/lib/libgd.a:${PORTSDIR}/graphics/gd PHP_CONF_ARGS+= --with-gd=${PREFIX} LIB_DEPENDS+= ttf.4:${PORTSDIR}/print/freetype PHP_CONF_ARGS+= --with-ttf=${PREFIX} PHP_CONF_ARGS+= --with-zlib LIB_DEPENDS+= mcrypt.2:${PORTSDIR}/security/libmcrypt PHP_CONF_ARGS+= --with-mcrypt=${PREFIX} LIB_DEPENDS+= mhash.1:${PORTSDIR}/security/mhash PHP_CONF_ARGS+= --with-mhash=${PREFIX} BUILD_DEPENDS+= ${PREFIX}/lib/libc-client4.a:${PORTSDIR}/mail/imap-uw PHP_CONF_ARGS+= --with-imap=${PREFIX} LIB_DEPENDS+= mysqlclient.6:${PORTSDIR}/databases/mysql322-client PHP_CONF_ARGS+= --with-mysql=${PREFIX} BUILD_DEPENDS+= ${PREFIX}/lib/libexpat.a:${PORTSDIR}/textproc/expat BUILD_DEPENDS+= ${PREFIX}/include/xml/xmlparse.h:${PORTSDIR}/textproc/expat BUILD_DEPENDS+= ${PREFIX}/include/xml/xmltok.h:${PORTSDIR}/textproc/expat PHP_CONF_ARGS+= --with-xml=${PREFIX} --ELM946311914-74626-0_-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message