Date: Mon, 25 Mar 2002 02:55:25 -0800 (PST) From: KATO Tsuguru <tkato@prontomail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/36289: Update port: devel/shmap Message-ID: <200203251055.g2PAtPh16182@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 36289 >Category: ports >Synopsis: Update port: devel/shmap >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Mar 25 03:00:05 PST 2002 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: 4.4-RELEASE i386 >Organization: >Environment: >Description: - Do not install useless .la file New file: files/patch-ltmain.sh >How-To-Repeat: >Fix: diff -urN /usr/ports/devel/shmap/Makefile devel/shmap/Makefile --- /usr/ports/devel/shmap/Makefile Wed Mar 20 19:45:32 2002 +++ devel/shmap/Makefile Thu Mar 21 05:02:06 2002 @@ -8,21 +8,20 @@ PORTNAME= shmap PORTVERSION= 0.3 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org -LIB_DEPENDS= mm:${PORTSDIR}/devel/mm +LIB_DEPENDS= mm.11:${PORTSDIR}/devel/mm -USE_LIBTOOL= yes GNU_CONFIGURE= yes -CFLAGS+= -I${LOCALBASE}/include -CONIFGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" INSTALLS_SHLIB= yes -pre-configure: - @${LN} -sf ${LOCALBASE}/bin/libtool ${WRKSRC} .include <bsd.port.mk> diff -urN /usr/ports/devel/shmap/files/patch-ltmain.sh devel/shmap/files/patch-ltmain.sh --- /usr/ports/devel/shmap/files/patch-ltmain.sh Thu Jan 1 09:00:00 1970 +++ devel/shmap/files/patch-ltmain.sh Thu Mar 21 04:16:12 2002 @@ -0,0 +1,42 @@ +--- ltmain.sh.orig Thu Sep 20 11:29:54 2001 ++++ ltmain.sh Thu Mar 21 04:16:02 2002 +@@ -1040,7 +1040,7 @@ + # These systems don't actually have a C library (as such) + test "X$arg" = "X-lc" && continue + ;; +- *-*-openbsd*) ++ *-*-openbsd* | *-*-freebsd*) + # Do not include libc due to us having libc/libc_r. + test "X$arg" = "X-lc" && continue + ;; +@@ -1048,7 +1048,7 @@ + fi + if test "X$arg" = "X-lc_r"; then + case $host in +- *-*-openbsd*) ++ *-*-openbsd* | *-*-freebsd*) + # Do not include libc_r directly, use -pthread flag. + continue + ;; +@@ -2439,7 +2439,7 @@ + *-*-netbsd*) + # Don't link with libc until the a.out ld.so is fixed. + ;; +- *-*-openbsd*) ++ *-*-openbsd* | *-*-freebsd*) + # Do not include libc due to us having libc/libc_r. + ;; + *) +@@ -4208,10 +4208,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if /usr/bin/false; then + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? ++ fi + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" diff -urN /usr/ports/devel/shmap/pkg-plist devel/shmap/pkg-plist --- /usr/ports/devel/shmap/pkg-plist Wed Mar 6 02:47:05 2002 +++ devel/shmap/pkg-plist Thu Mar 21 03:33:59 2002 @@ -1,5 +1,4 @@ include/shmap.h lib/libshmap.a -lib/libshmap.la lib/libshmap.so lib/libshmap.so.0 >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?200203251055.g2PAtPh16182>