diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-10-04 12:33:22 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-10-04 12:33:22 +0800 |
commit | d46d30c9ac73f330f269ee6762bec031dd2df315 (patch) | |
tree | 599a3c34df81c2736c6677855c57cf897111973b /x11-toolkits | |
parent | 2e30848587991e6688b17ad941be1fee5747b383 (diff) | |
download | marcuscom-ports-d46d30c9ac73f330f269ee6762bec031dd2df315.tar.gz marcuscom-ports-d46d30c9ac73f330f269ee6762bec031dd2df315.tar.zst marcuscom-ports-d46d30c9ac73f330f269ee6762bec031dd2df315.zip |
* Use ${X11BASE}/bin as the default directory when choosing an application
with which to open a file with an unassociated MIME type [1]
* Use the new libtool scheme
Suggested by: piotr.smyrak@heron.pl [1]
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2929 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/eel2/Makefile | 7 | ||||
-rw-r--r-- | x11-toolkits/eel2/files/patch-configure | 13 | ||||
-rw-r--r-- | x11-toolkits/eel2/files/patch-eel_eel-open-with-dialog.c | 11 |
3 files changed, 17 insertions, 14 deletions
diff --git a/x11-toolkits/eel2/Makefile b/x11-toolkits/eel2/Makefile index bddc96374..6c1f651a7 100644 --- a/x11-toolkits/eel2/Makefile +++ b/x11-toolkits/eel2/Makefile @@ -7,6 +7,7 @@ PORTNAME= eel2 PORTVERSION= 2.8.0 +PORTREVISION= 1 CATEGORIES= x11-toolkits gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.8 @@ -20,11 +21,15 @@ USE_BZIP2= yes USE_GMAKE= yes USE_X_PREFIX= yes USE_GNOME= gnomeprefix gnomehack gnomehier gnomevfs2 gail libgnomeui -USE_INC_LIBTOOL_VER=13 +USE_LIBTOOL_VER=15 USE_REINPLACE= yes INSTALLS_SHLIB= yes CONFIGURE_ARGS= --enable-shared --enable-static CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" +post-patch: + @${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g' \ + ${WRKSRC}/eel/eel-open-with-dialog.c + .include <bsd.port.mk> diff --git a/x11-toolkits/eel2/files/patch-configure b/x11-toolkits/eel2/files/patch-configure deleted file mode 100644 index 445a53ad1..000000000 --- a/x11-toolkits/eel2/files/patch-configure +++ /dev/null @@ -1,13 +0,0 @@ - -$FreeBSD$ - ---- configure 2002/04/25 19:15:15 1.1 -+++ configure 2002/04/25 19:17:28 -@@ -5331,6 +5331,7 @@ - - # This can be used to rebuild libtool when needed - LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" -+$ac_aux_dir/ltconfig $LIBTOOL_DEPS - - # Always use our own libtool. - LIBTOOL='$(SHELL) $(top_builddir)/libtool' diff --git a/x11-toolkits/eel2/files/patch-eel_eel-open-with-dialog.c b/x11-toolkits/eel2/files/patch-eel_eel-open-with-dialog.c new file mode 100644 index 000000000..9512a2703 --- /dev/null +++ b/x11-toolkits/eel2/files/patch-eel_eel-open-with-dialog.c @@ -0,0 +1,11 @@ +--- eel/eel-open-with-dialog.c.orig Mon Oct 4 00:30:27 2004 ++++ eel/eel-open-with-dialog.c Mon Oct 4 00:30:40 2004 +@@ -380,7 +380,7 @@ + gtk_file_chooser_set_select_multiple (GTK_FILE_CHOOSER (chooser), + FALSE); + gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (chooser), +- "/usr/bin"); ++ "%%X11BASE%%/bin"); + + gtk_widget_show (chooser); + } |