Date: Mon, 27 Dec 1999 10:31:44 -0800 (PST) From: Tom <tom@uniserve.com> To: Mikhail Teterin <mi@kot.ne.mediaone.net> Cc: stable@freebsd.org, ports@freebsd.org Subject: Re: -lc vs. -lc_r (building Apache-PHP) Message-ID: <Pine.BSF.4.02A.9912271029520.6249-200000@shell.uniserve.ca> In-Reply-To: <199912271625.LAA74751@rtfm.newton>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <Pine.BSF.4.02A.9912271029522.6249@shell.uniserve.ca> 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: <Pine.BSF.4.02A.9912271029523.6249@shell.uniserve.ca> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.02A.9912271029520.6249-200000>