diff options
Diffstat (limited to 'x11-toolkits/gtk--2')
-rw-r--r-- | x11-toolkits/gtk--2/Makefile | 18 | ||||
-rw-r--r-- | x11-toolkits/gtk--2/pkg-plist | 1 |
2 files changed, 14 insertions, 5 deletions
diff --git a/x11-toolkits/gtk--2/Makefile b/x11-toolkits/gtk--2/Makefile index 65e0906afee2..fbf3723ec1d3 100644 --- a/x11-toolkits/gtk--2/Makefile +++ b/x11-toolkits/gtk--2/Makefile @@ -3,7 +3,7 @@ # Date created: 11 May 1998 # Whom: Yukihiro Nakai <Nakai@technologist.com> # -# $Id: Makefile,v 1.7 1999/05/07 02:20:32 mharo Exp $ +# $Id: Makefile,v 1.8 1999/05/12 11:37:22 asami Exp $ # DISTNAME= Gtk---1.0.0 @@ -13,15 +13,25 @@ MASTER_SITES= ftp://ftp.gimp.org/pub/gtk/gtk--/ MAINTAINER= nacai@iname.com -LIB_DEPENDS= gtk12.1:${PORTSDIR}/x11-toolkits/gtk12 +LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 +GTK_CONFIG?= ${X11BASE}/bin/gtk12-config + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 400004 +BUILD_DEPENDS= eg++:${PORTSDIR}/lang/egcs +CC= egcc +CXX= eg++ +.endif + USE_X_PREFIX= yes USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-static=yes \ --without-gnome -CONFIGURE_ENV= GTK_CONFIG="${X11BASE}/bin/gtk12-config" +CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" MAN3= G_IntList.3 G_IntList_Iterator.3 G_List.3 G_List_Cpp_Iterator.3 \ G_List_Iterator.3 G_SList_Iterator.3 GtkBase.3 GtkBaseClass.3 \ @@ -58,4 +68,4 @@ MAN3= G_IntList.3 G_IntList_Iterator.3 G_List.3 G_List_Cpp_Iterator.3 \ ToolbarConnector.3 ToolbarConnectorBase.3 Toolbar_Child.3 \ _gtk_string.3 gtkmm_add_signal_class.3 -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/x11-toolkits/gtk--2/pkg-plist b/x11-toolkits/gtk--2/pkg-plist index 4d4ac7b0dd6b..4fc958e96bab 100644 --- a/x11-toolkits/gtk--2/pkg-plist +++ b/x11-toolkits/gtk--2/pkg-plist @@ -208,4 +208,3 @@ share/aclocal/gtk--.m4 @dirrm include/gtk-- @dirrm include/gdk--/extra @dirrm include/gdk-- -@unexec rmdir %D/share/aclocal 2>/dev/null || true |