Provide a master site for this, since the original one has vanished.
Partially update it, since no other ports use GTK+ 1.0 or GDK 1.0. Take maintainership. Mark BROKEN. More patches will follow. Approved by: will
This commit is contained in:
parent
7b4c77811e
commit
1c6feddcb5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=33431
3 changed files with 47 additions and 44 deletions
|
@ -8,15 +8,18 @@
|
|||
PORTNAME= workplace
|
||||
PORTVERSION= 1.0.a3
|
||||
CATEGORIES= x11-fm
|
||||
MASTER_SITES= http://www2.osk.3web.ne.jp/~hideki70/src/
|
||||
MASTER_SITES= http://people.freebsd.org/~trevor/ports/distfiles/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= trevor@FreeBSD.org
|
||||
|
||||
LIB_DEPENDS= gtk10.1:${PORTSDIR}/x11-toolkits/gtk10
|
||||
BROKEN= "patches are not yet correct"
|
||||
|
||||
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_X_PREFIX= yes
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include/gtk10" \
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/glib12 \
|
||||
-I${X11BASE}/include/gtk12" \
|
||||
LIBS="-L${LOCALBASE}/lib"
|
||||
|
||||
pre-configure:
|
||||
|
|
|
@ -1,16 +1,30 @@
|
|||
--- configure.in.orig Fri Jan 22 16:21:28 1999
|
||||
+++ configure.in Fri Jan 22 16:22:59 1999
|
||||
@@ -37,10 +37,10 @@
|
||||
--- configure.orig Wed Apr 8 02:48:44 1998
|
||||
+++ configure Thu Oct 5 02:42:18 2000
|
||||
@@ -1807,14 +1807,14 @@
|
||||
|
||||
LDFLAGS="$saved_ldflags $X_LDFLAGS $X_LIBS"
|
||||
|
||||
- AC_CHECK_LIB(gtk, gtk_widget_new,
|
||||
- X_LIBS="$X_LIBS -lgtk -lgdk -lglib $x_libs -lm",
|
||||
+ AC_CHECK_LIB(gtk10, gtk_widget_new,
|
||||
+ X_LIBS="$X_LIBS -lgtk10 -lgdk10 -lglib10 $x_libs -lm",
|
||||
[AC_MSG_ERROR(Can not link with gtk/gdk/glib)],
|
||||
- -lgdk -lglib $x_libs -lm)
|
||||
+ -lgdk10 -lglib10 $x_libs -lm)
|
||||
|
||||
CFLAGS="$saved_cflags"
|
||||
LDFLAGS="$saved_ldflags"
|
||||
- echo $ac_n "checking for gtk_widget_new in -lgtk""... $ac_c" 1>&6
|
||||
-echo "configure:1812: checking for gtk_widget_new in -lgtk" >&5
|
||||
-ac_lib_var=`echo gtk'_'gtk_widget_new | sed 'y%./+-%__p_%'`
|
||||
+ echo $ac_n "checking for gtk_widget_new in -lgtk12""... $ac_c" 1>&6
|
||||
+echo "configure:1812: checking for gtk_widget_new in -lgtk12" >&5
|
||||
+ac_lib_var=`echo gtk12'_'gtk_widget_new | sed 'y%./+-%__p_%'`
|
||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
ac_save_LIBS="$LIBS"
|
||||
-LIBS="-lgtk -lgdk -lglib $x_libs -lm $LIBS"
|
||||
+LIBS="-lgtk12 -lgdk12 -lglib12 $x_libs -lm $LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1820 "configure"
|
||||
#include "confdefs.h"
|
||||
@@ -1842,7 +1842,7 @@
|
||||
fi
|
||||
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
|
||||
echo "$ac_t""yes" 1>&6
|
||||
- X_LIBS="$X_LIBS -lgtk -lgdk -lglib $x_libs -lm"
|
||||
+ X_LIBS="$X_LIBS -lgtk12 -lgdk12 -lglib12 $x_libs -lm"
|
||||
else
|
||||
echo "$ac_t""no" 1>&6
|
||||
{ echo "configure: error: Can not link with gtk/gdk/glib" 1>&2; exit 1; }
|
||||
|
|
|
@ -1,30 +1,16 @@
|
|||
--- configure.orig Fri Jan 22 16:21:32 1999
|
||||
+++ configure Fri Jan 22 16:23:08 1999
|
||||
@@ -1807,14 +1807,14 @@
|
||||
--- configure.in.orig Wed Apr 8 02:39:00 1998
|
||||
+++ configure.in Thu Oct 5 02:42:18 2000
|
||||
@@ -37,10 +37,10 @@
|
||||
|
||||
LDFLAGS="$saved_ldflags $X_LDFLAGS $X_LIBS"
|
||||
|
||||
- echo $ac_n "checking for gtk_widget_new in -lgtk""... $ac_c" 1>&6
|
||||
-echo "configure:1812: checking for gtk_widget_new in -lgtk" >&5
|
||||
-ac_lib_var=`echo gtk'_'gtk_widget_new | sed 'y%./+-%__p_%'`
|
||||
+ echo $ac_n "checking for gtk_widget_new in -lgtk10""... $ac_c" 1>&6
|
||||
+echo "configure:1812: checking for gtk_widget_new in -lgtk10" >&5
|
||||
+ac_lib_var=`echo gtk10'_'gtk_widget_new | sed 'y%./+-%__p_%'`
|
||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
ac_save_LIBS="$LIBS"
|
||||
-LIBS="-lgtk -lgdk -lglib $x_libs -lm $LIBS"
|
||||
+LIBS="-lgtk10 -lgdk10 -lglib10 $x_libs -lm $LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1820 "configure"
|
||||
#include "confdefs.h"
|
||||
@@ -1842,7 +1842,7 @@
|
||||
fi
|
||||
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
|
||||
echo "$ac_t""yes" 1>&6
|
||||
- X_LIBS="$X_LIBS -lgtk -lgdk -lglib $x_libs -lm"
|
||||
+ X_LIBS="$X_LIBS -lgtk10 -lgdk10 -lglib10 $x_libs -lm"
|
||||
else
|
||||
echo "$ac_t""no" 1>&6
|
||||
{ echo "configure: error: Can not link with gtk/gdk/glib" 1>&2; exit 1; }
|
||||
- AC_CHECK_LIB(gtk, gtk_widget_new,
|
||||
- X_LIBS="$X_LIBS -lgtk -lgdk -lglib $x_libs -lm",
|
||||
+ AC_CHECK_LIB(gtk12, gtk_widget_new,
|
||||
+ X_LIBS="$X_LIBS -lgtk12 -lgdk12 -lglib12 $x_libs -lm",
|
||||
[AC_MSG_ERROR(Can not link with gtk/gdk/glib)],
|
||||
- -lgdk -lglib $x_libs -lm)
|
||||
+ -lgdk12 -lglib12 $x_libs -lm)
|
||||
|
||||
CFLAGS="$saved_cflags"
|
||||
LDFLAGS="$saved_ldflags"
|
||||
|
|
Loading…
Reference in a new issue