aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtkmm20/Makefile
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-05-29 11:56:15 +0800
committersteve <steve@FreeBSD.org>1999-05-29 11:56:15 +0800
commitff2c6bac0ded6793103b12ed47ec261ee75b026f (patch)
tree5d44c4203ffb617246e3922b0cbae09608e0e203 /x11-toolkits/gtkmm20/Makefile
parent09dcfd52af329c174b5aedbac6986cf817fe17d5 (diff)
downloadfreebsd-ports-gnome-ff2c6bac0ded6793103b12ed47ec261ee75b026f.tar.gz
freebsd-ports-gnome-ff2c6bac0ded6793103b12ed47ec261ee75b026f.tar.zst
freebsd-ports-gnome-ff2c6bac0ded6793103b12ed47ec261ee75b026f.zip
Update to use gtk version 1.2.3.
PR: 11842 Submitted by: Jeremy Lea <reg@shale.csir.co.za>
Diffstat (limited to 'x11-toolkits/gtkmm20/Makefile')
-rw-r--r--x11-toolkits/gtkmm20/Makefile18
1 files changed, 14 insertions, 4 deletions
diff --git a/x11-toolkits/gtkmm20/Makefile b/x11-toolkits/gtkmm20/Makefile
index 65e0906afee2..fbf3723ec1d3 100644
--- a/x11-toolkits/gtkmm20/Makefile
+++ b/x11-toolkits/gtkmm20/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>