diff options
Diffstat (limited to 'devel/log4cpp')
-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 |