aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtkmm12
diff options
context:
space:
mode:
authorade <ade@FreeBSD.org>2006-02-23 18:40:44 +0800
committerade <ade@FreeBSD.org>2006-02-23 18:40:44 +0800
commitda880765886f48c0ac8fd253e5601d04ea853215 (patch)
tree55155f50e8a40ea2e2a16e2331e8cbb919b7d04f /x11-toolkits/gtkmm12
parentba4beb1ea11e6147a9b30969be42685d1c709e56 (diff)
downloadfreebsd-ports-graphics-da880765886f48c0ac8fd253e5601d04ea853215.tar.gz
freebsd-ports-graphics-da880765886f48c0ac8fd253e5601d04ea853215.tar.zst
freebsd-ports-graphics-da880765886f48c0ac8fd253e5601d04ea853215.zip
Conversion to a single libtool environment.
Approved by: portmgr (kris)
Diffstat (limited to 'x11-toolkits/gtkmm12')
-rw-r--r--x11-toolkits/gtkmm12/Makefile9
-rw-r--r--x11-toolkits/gtkmm12/files/patch-gtkmm-config.in11
-rw-r--r--x11-toolkits/gtkmm12/pkg-plist12
3 files changed, 23 insertions, 9 deletions
diff --git a/x11-toolkits/gtkmm12/Makefile b/x11-toolkits/gtkmm12/Makefile
index 68eb163caa4..1999a1e29a7 100644
--- a/x11-toolkits/gtkmm12/Makefile
+++ b/x11-toolkits/gtkmm12/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gtkmm
PORTVERSION= 1.2.8
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gtkmm/1.2
@@ -23,14 +23,17 @@ USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= gtk12
-USE_AUTOTOOLS= libtool:13:inc
-LIBTOOLFLAGS= --disable-ltlibs --release-ignore
+GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --enable-static=yes \
--without-gnome \
--with-sigc-prefix=${LOCALBASE}
post-install:
+.for lib in gdkmm gtkmm
+ @${RM} ${PREFIX}/lib/lib${lib}.so ${PREFIX}/lib/lib${lib}.la
+ @${MV} ${PREFIX}/lib/lib${lib}.a ${PREFIX}/lib/lib${lib}-1.2.a
+.endfor
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/x11-toolkits/gtkmm12/files/patch-gtkmm-config.in b/x11-toolkits/gtkmm12/files/patch-gtkmm-config.in
new file mode 100644
index 00000000000..66ca1b94aa7
--- /dev/null
+++ b/x11-toolkits/gtkmm12/files/patch-gtkmm-config.in
@@ -0,0 +1,11 @@
+--- gtkmm-config.in.orig Tue Jul 17 20:08:35 2001
++++ gtkmm-config.in Tue Jan 24 17:35:29 2006
+@@ -18,6 +18,6 @@
+
+-gtkmm_libs="$LIBDIRS -lgtkmm -lgdkmm @GTK_LIBS@ @SIGC_LIBS@"
++gtkmm_libs="$LIBDIRS -lgtkmm-1.2 -lgdkmm-1.2 @GTK_LIBS@ @SIGC_LIBS@"
+ gtkmm_cflags="$CFLAGS @GTK_CFLAGS@ @SIGC_CFLAGS@"
+
+-gthread_libs="-lgthread"
++gthread_libs="-lgthread-1.2"
+
diff --git a/x11-toolkits/gtkmm12/pkg-plist b/x11-toolkits/gtkmm12/pkg-plist
index e40e635ed7f..a14d5069c33 100644
--- a/x11-toolkits/gtkmm12/pkg-plist
+++ b/x11-toolkits/gtkmm12/pkg-plist
@@ -186,12 +186,12 @@ lib/gtkmm/proc/gtkconvert.m4
lib/gtkmm/proc/gtkmmproc
lib/gtkmm/proc/list.m4
lib/gtkmm/proc/stage1.m4
-lib/libgdkmm.a
-lib/libgdkmm.so
-lib/libgdkmm.so.2
-lib/libgtkmm.a
-lib/libgtkmm.so
-lib/libgtkmm.so.2
+lib/libgdkmm-1.2.a
+lib/libgdkmm-1.2.so
+lib/libgdkmm-1.2.so.2
+lib/libgtkmm-1.2.a
+lib/libgtkmm-1.2.so
+lib/libgtkmm-1.2.so.2
share/aclocal/gtk--.m4
@dirrm include/gdk--
@dirrm include/gtk--/private