diff options
author | pat <pat@FreeBSD.org> | 2002-03-03 13:46:11 +0800 |
---|---|---|
committer | pat <pat@FreeBSD.org> | 2002-03-03 13:46:11 +0800 |
commit | 65f85ea4cb221c09fa59244d7dbb48418695d20a (patch) | |
tree | a11d82c240f7a2d5f1c938c5bd5964db82e22abd | |
parent | e4c80ad9d3230a855732dfef7a1cf0941a12d56e (diff) | |
download | freebsd-ports-gnome-65f85ea4cb221c09fa59244d7dbb48418695d20a.tar.gz freebsd-ports-gnome-65f85ea4cb221c09fa59244d7dbb48418695d20a.tar.zst freebsd-ports-gnome-65f85ea4cb221c09fa59244d7dbb48418695d20a.zip |
Dont install useless .la files and sort plist
PR: 35493
Submitted by: KATO Tsuguru <tkato@prontomail.com>
-rw-r--r-- | devel/log4cpp/Makefile | 2 | ||||
-rw-r--r-- | devel/log4cpp/files/patch-config::ltmain.sh | 25 | ||||
-rw-r--r-- | devel/log4cpp/pkg-plist | 3 |
3 files changed, 27 insertions, 3 deletions
diff --git a/devel/log4cpp/Makefile b/devel/log4cpp/Makefile index 85bb4ffe5f4d..9f7c957417f6 100644 --- a/devel/log4cpp/Makefile +++ b/devel/log4cpp/Makefile @@ -15,7 +15,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org GNU_CONFIGURE= yes -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S,b,,} +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} INSTALLS_SHLIB= yes .include <bsd.port.mk> diff --git a/devel/log4cpp/files/patch-config::ltmain.sh b/devel/log4cpp/files/patch-config::ltmain.sh new file mode 100644 index 000000000000..661af1feefb6 --- /dev/null +++ b/devel/log4cpp/files/patch-config::ltmain.sh @@ -0,0 +1,25 @@ +--- config/ltmain.sh.orig Thu Jul 5 23:41:01 2001 ++++ config/ltmain.sh Fri Mar 1 22:56:44 2002 +@@ -2408,6 +2408,9 @@ + *-*-netbsd*) + # Don't link with libc until the a.out ld.so is fixed. + ;; ++ *-*-freebsd*) ++ # FreeBSD doesn't need this... ++ ;; + *) + # Add libc to deplibs on all other systems if necessary. + if test "$build_libtool_need_lc" = "yes"; then +@@ -4175,10 +4178,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 --git a/devel/log4cpp/pkg-plist b/devel/log4cpp/pkg-plist index 262a09a58b71..5134aa04b610 100644 --- a/devel/log4cpp/pkg-plist +++ b/devel/log4cpp/pkg-plist @@ -29,8 +29,7 @@ include/log4cpp/TimeStamp.hh include/log4cpp/config-openvms.h include/log4cpp/config-win32.h include/log4cpp/config.h -@dirrm include/log4cpp lib/liblog4cpp.a -lib/liblog4cpp.la lib/liblog4cpp.so lib/liblog4cpp.so.3 +@dirrm include/log4cpp |