Skip to content

Commit

Permalink
Adapt in order to work together with new gtk10 package
Browse files Browse the repository at this point in the history
Remove deprecated CONFLICTS with prior versions
  • Loading branch information
rh committed Feb 19, 1999
1 parent cadf4e6 commit 0a0cd3f
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 6 deletions.
7 changes: 3 additions & 4 deletions cad/geda/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 1999/02/04 21:21:23 frueauf Exp $
# $NetBSD: Makefile,v 1.5 1999/02/19 14:26:57 rh Exp $
#

DISTNAME= gEDA-19990124
Expand All @@ -10,13 +10,12 @@ MASTER_SITES= ftp://ftp.geda.seul.org/pub/geda/dist/ \
MAINTAINER= [email protected]
HOMEPAGE= http://www.geda.seul.org/

DEPENDS+= gtk+-1.0.6:../../x11/gtk10
DEPENDS+= gtk10-1.0.6:../../x11/gtk10
DEPENDS+= guile-1.3:../../lang/guile

CONFLICTS= gEDA-*

GNU_CONFIGURE= yes
USE_X11BASE= yes
USE_LIBTOOL= yes
CONFIGURE_ARGS= --with-gtk-config=${X11BASE}/bin/gtk10-config

.include "../../mk/bsd.pkg.mk"
28 changes: 26 additions & 2 deletions cad/geda/patches/patch-aa
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$NetBSD: patch-aa,v 1.3 1999/02/04 21:21:23 frueauf Exp $
$NetBSD: patch-aa,v 1.4 1999/02/19 14:26:57 rh Exp $

--- configure.orig Sun Jan 24 06:00:00 1999
+++ configure Wed Feb 3 20:40:53 1999
+++ configure Fri Feb 19 13:56:11 1999
@@ -1327,7 +1327,6 @@
fi

Expand All @@ -10,3 +10,27 @@ $NetBSD: patch-aa,v 1.3 1999/02/04 21:21:23 frueauf Exp $

# Check for any special flags to pass to ltconfig.
libtool_flags=
@@ -2853,9 +2852,9 @@
if eval "test x$gtkdir != x"; then
CFEXTRA="-I$gtkdir -I$gtkdir/glib"
LDEXTRA="-L$gtkdir/glib/.libs -L$gtkdir/gdk/.libs -L$gtkdir/gtk/.libs `$GTKCONFIG --libs`"
- GTK=-lgtk
- GDK=-lgdk
- GLIB=-lglib
+ GTK=-lgtk10
+ GDK=-lgdk10
+ GLIB=-lglib10
X_LDFLAGS=`$GTKCONFIG --libs`
X_CFLAGS=`$GTKCONFIG --cflags`
gtkversion=1.0
@@ -2894,8 +2893,8 @@
fi


-CFLAGS="$CFLAGS $CFEXTRA `$GTKCONFIG --cflags`"
-LDFLAGS="$LDEXTRA `$GTKCONFIG --libs` -lgtk -lgdk -lglib $LDFLAGS -lm"
+CFLAGS="`$GTKCONFIG --cflags` $CFLAGS $CFEXTRA"
+LDFLAGS="$LDEXTRA `$GTKCONFIG --libs` $LDFLAGS -lm"

echo $ac_n "checking for the rest of gtk""... $ac_c" 1>&6
echo "configure:2902: checking for the rest of gtk" >&5

0 comments on commit 0a0cd3f

Please sign in to comment.