Date: Wed, 16 Oct 2002 18:47:34 -0700 (PDT) From: Liu Kang <lazykang@hotmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/44156: updated version of mod_dtcl and a patch that can fix link problem Message-ID: <200210170147.g9H1lYRj012544@www.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 44156 >Category: ports >Synopsis: updated version of mod_dtcl and a patch that can fix link problem >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Oct 16 18:50:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Liu Kang >Release: 4.7 & 5 >Organization: Beijing Polytechnic University >Environment: FreeBSD ftp.bjpu.edu.cn 4.7-STABLE FreeBSD 4.7-STABLE #19: Wed Oct 16 04:30:06 CST 2002 root@ftp.bjpu.edu.cn:/usr/obj/usr/src/sys/FTP i386 >Description: mod_dtcl was marked as broken, because of link problem. when run make in ports/www/mod_dtcl it says: .... /usr/libexec/elf/ld: cannot find -lm *** Error code 1 .. "cannot find -lm" means the linker can not find the math library. I think there is a mistake in ports/www/mod_dtcl/files/Makefile.bsd, which set lib path=/usr/local/lib, while freebsd's math library is in /usr/lib . A new version of mod_dtcl is available too. could you please make a update :) >How-To-Repeat: run make in ports/www/mod_dtcl >Fix: --- Makefile.orig Thu Oct 17 09:06:56 2002 +++ Makefile Thu Oct 17 09:09:27 2002 @@ -6,13 +6,11 @@ # PORTNAME= mod_dtcl -PORTVERSION= 0.11.5 +PORTVERSION= 0.12.0 CATEGORIES= www tcl83 MASTER_SITES= http://tcl.apache.org/mod_dtcl/download/ MAINTAINER= mi@aldan.algebra.com - -BROKEN= "Does not compile" BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 LIB_DEPENDS= tcl83:${PORTSDIR}/lang/tcl83 --- distinfo.orig Thu Oct 17 09:40:36 2002 +++ distinfo Thu Oct 17 09:10:07 2002 @@ -1 +1 @@ -MD5 (mod_dtcl-0.11.5.tar.gz) = 2761fa569d6f0b48331968d8aba494aa +MD5 (mod_dtcl-0.12.0.tar.gz) = 960bb4a57412e60425b99889e13712e2 patch for files/Makefile.bsd: (in order to slove link problem) --- Makefile.bsd.orig Thu Oct 17 09:42:37 2002 +++ Makefile.bsd Thu Oct 17 09:30:06 2002 @@ -13,7 +13,7 @@ SHLIB_NAME= libmod_dtcl.so.1 -LDADD= -L${PREFIX}/lib -ltcl${TCL_NDVER} -lm +LDADD= -L/usr/lib -L${PREFIX}/lib -ltcl${TCL_NDVER} -lm LDFLAGS=${LDADD} SRCS= mod_dtcl.c @@ -23,5 +23,3 @@ NOMAN= True # don't bother with the man-page here, let the port handle it .include <bsd.lib.mk> - - >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210170147.g9H1lYRj012544>