diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2002-12-11 11:34:18 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2002-12-11 11:34:18 +0800 |
commit | fcf8a1af051c743402aa81b48ba5dc4393418e7f (patch) | |
tree | 9820202e87dba35278ad90e842d733185e6b11a4 | |
parent | a784b01b36c3a86de40768153de92262e7558b5b (diff) | |
download | marcuscom-ports-fcf8a1af051c743402aa81b48ba5dc4393418e7f.tar marcuscom-ports-fcf8a1af051c743402aa81b48ba5dc4393418e7f.tar.gz marcuscom-ports-fcf8a1af051c743402aa81b48ba5dc4393418e7f.tar.bz2 marcuscom-ports-fcf8a1af051c743402aa81b48ba5dc4393418e7f.tar.lz marcuscom-ports-fcf8a1af051c743402aa81b48ba5dc4393418e7f.tar.xz marcuscom-ports-fcf8a1af051c743402aa81b48ba5dc4393418e7f.tar.zst marcuscom-ports-fcf8a1af051c743402aa81b48ba5dc4393418e7f.zip |
Don't link against libc.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@269 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | x11-toolkits/libgnomeprintui/Makefile | 3 | ||||
-rw-r--r-- | x11-toolkits/libgnomeprintui/files/patch-configure | 10 | ||||
-rw-r--r-- | x11-toolkits/libgnomeprintui/files/patch-ltmain.sh | 45 |
3 files changed, 12 insertions, 46 deletions
diff --git a/x11-toolkits/libgnomeprintui/Makefile b/x11-toolkits/libgnomeprintui/Makefile index 37e4ee16f..9cfcb662c 100644 --- a/x11-toolkits/libgnomeprintui/Makefile +++ b/x11-toolkits/libgnomeprintui/Makefile @@ -7,6 +7,7 @@ PORTNAME= libgnomeprintui PORTVERSION= 2.1.3 +PORTREVISION= 1 CATEGORIES= x11-toolkits gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.1 @@ -25,7 +26,7 @@ USE_GNOMENG= yes USE_GNOME= gnomeprefix gnomehack USE_REINPLACE= yes INSTALLS_SHLIB= yes -GNU_CONFIGURE= yes +USE_LIBTOOL= yes USE_BISON= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" diff --git a/x11-toolkits/libgnomeprintui/files/patch-configure b/x11-toolkits/libgnomeprintui/files/patch-configure new file mode 100644 index 000000000..188be53fe --- /dev/null +++ b/x11-toolkits/libgnomeprintui/files/patch-configure @@ -0,0 +1,10 @@ +--- configure.orig Tue Dec 10 22:29:55 2002 ++++ configure Tue Dec 10 22:30:17 2002 +@@ -8158,6 +8158,7 @@ + + # This can be used to rebuild libtool when needed + LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" ++$ac_aux_dir/ltconfig $LIBTOOL_DEPS + + # Always use our own libtool. + LIBTOOL='$(SHELL) $(top_builddir)/libtool' diff --git a/x11-toolkits/libgnomeprintui/files/patch-ltmain.sh b/x11-toolkits/libgnomeprintui/files/patch-ltmain.sh deleted file mode 100644 index b28602192..000000000 --- a/x11-toolkits/libgnomeprintui/files/patch-ltmain.sh +++ /dev/null @@ -1,45 +0,0 @@ - -$FreeBSD: ports/x11-toolkits/libgnomeprintui/files/patch-ltmain.sh,v 1.1 2002/04/12 08:57:29 sobomax Exp $ - ---- ltmain.sh.orig Wed Jan 23 11:38:40 2002 -+++ ltmain.sh Sun Feb 3 01:44:17 2002 -@@ -1037,8 +1037,16 @@ - continue - ;; - -+ -pthread) -+ compile_command="$compile_command -pthread" -+ finalize_command="$finalize_command -pthread" -+ compiler_flags="$compiler_flags -pthread" -+ continue -+ ;; -+ - -module) - module=yes -+ build_old_libs=no - continue - ;; - -@@ -2412,6 +2420,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 -@@ -4179,10 +4190,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" |