diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-02-07 14:13:56 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-02-07 14:13:56 +0000 |
commit | 027909387b7cbdaffcae219a165c4b5b11b8af20 (patch) | |
tree | c5877545f02f00b7f40a58d5f0bbc711f75b299e /editors/glimmer | |
parent | b9d24b4ab8a4865d32e2791e3e599a327ba583e0 (diff) | |
download | ports-027909387b7cbdaffcae219a165c4b5b11b8af20.tar.gz ports-027909387b7cbdaffcae219a165c4b5b11b8af20.zip |
Notes
Diffstat (limited to 'editors/glimmer')
-rw-r--r-- | editors/glimmer/Makefile | 5 | ||||
-rw-r--r-- | editors/glimmer/distinfo | 2 | ||||
-rw-r--r-- | editors/glimmer/files/patch-configure | 75 | ||||
-rw-r--r-- | editors/glimmer/files/patch-po::Makefile.in.in | 14 |
4 files changed, 90 insertions, 6 deletions
diff --git a/editors/glimmer/Makefile b/editors/glimmer/Makefile index bf5b750b0cdf..f1a2378c1413 100644 --- a/editors/glimmer/Makefile +++ b/editors/glimmer/Makefile @@ -6,7 +6,7 @@ # PORTNAME= glimmer -PORTVERSION= 1.2.0 +PORTVERSION= 1.2.1 CATEGORIES= editors gnome python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -26,6 +26,7 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-regex CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -D_REGEX_H_ -D_REGEX_H" \ LIBS="-L${LOCALBASE}/lib -lgnuregex" +CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} .if exists(/usr/lib/libcrypto.a) PYTHON_LIBS= -lssl -lcrypto .endif @@ -35,7 +36,7 @@ pre-patch: @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|-lpython|${PYTHON_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure - @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ + @find ${WRKSRC} -name "Makefile.in*" | xargs ${PERL} -pi -e \ 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g' diff --git a/editors/glimmer/distinfo b/editors/glimmer/distinfo index 3cf779b9dd35..01b9d6275fd7 100644 --- a/editors/glimmer/distinfo +++ b/editors/glimmer/distinfo @@ -1 +1 @@ -MD5 (glimmer-1.2.0.tar.gz) = 167abcd108032218cafa6dbaa8e1cb77 +MD5 (glimmer-1.2.1.tar.gz) = ca0a856b58f91b1bdef7f0828b31490a diff --git a/editors/glimmer/files/patch-configure b/editors/glimmer/files/patch-configure index 5d8e70b429bf..1b83b07a79ac 100644 --- a/editors/glimmer/files/patch-configure +++ b/editors/glimmer/files/patch-configure @@ -1,9 +1,78 @@ $FreeBSD$ ---- configure.orig Fri Nov 16 16:02:10 2001 -+++ configure Fri Nov 16 16:02:49 2001 -@@ -8320,7 +8320,7 @@ +--- configure.orig Thu Feb 7 15:54:38 2002 ++++ configure Thu Feb 7 16:09:08 2002 +@@ -8001,7 +8001,7 @@ + #line 8001 "configure" + #include "confdefs.h" + #include <stdlib.h> +-#include <iconv.h> ++#include <giconv.h> + int + main () + { +@@ -8032,12 +8032,12 @@ + rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + if test "$am_cv_func_iconv" != yes; then + am_save_LIBS="$LIBS" +- LIBS="$LIBS -liconv" ++ LIBS="$LIBS -lgiconv" + cat >conftest.$ac_ext <<_ACEOF + #line 8037 "configure" + #include "confdefs.h" + #include <stdlib.h> +-#include <iconv.h> ++#include <giconv.h> + int + main () + { +@@ -8090,7 +8090,7 @@ + #include "confdefs.h" + + #include <stdlib.h> +-#include <iconv.h> ++#include <giconv.h> + extern + #ifdef __cplusplus + "C" +@@ -8144,7 +8144,7 @@ + fi + LIBICONV= + if test "$am_cv_lib_iconv" = yes; then +- LIBICONV="-liconv" ++ LIBICONV="-lgiconv" + fi + + echo "$as_me:8150: checking for nl_langinfo and CODESET" >&5 +@@ -8605,7 +8605,7 @@ + echo "${ECHO_T}no" >&6 + fi + +- CATOBJEXT=.gmo ++ CATOBJEXT=.mo + fi + + fi +@@ -8729,7 +8729,7 @@ + + BUILD_INCLUDED_LIBINTL=yes + USE_INCLUDED_LIBINTL=yes +- CATOBJEXT=.gmo ++ CATOBJEXT=.mo + INTLLIBS="\$(top_builddir)/intl/libintl.a $LIBICONV" + LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` + fi +@@ -8819,7 +8819,7 @@ + fi + + for lang in $ALL_LINGUAS; do +- GMOFILES="$GMOFILES $lang.gmo" ++ GMOFILES="$GMOFILES $lang.mo" + POFILES="$POFILES $lang.po" + done + +@@ -10202,7 +10202,7 @@ fi echo System regex.......$use_system_regex diff --git a/editors/glimmer/files/patch-po::Makefile.in.in b/editors/glimmer/files/patch-po::Makefile.in.in new file mode 100644 index 000000000000..1e58541d6e06 --- /dev/null +++ b/editors/glimmer/files/patch-po::Makefile.in.in @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- po/Makefile.in.in 2002/02/07 13:50:02 1.1 ++++ po/Makefile.in.in 2002/02/07 13:51:15 +@@ -52,7 +52,7 @@ + POTFILES = \ + + CATALOGS = @CATALOGS@ +-CATOBJEXT = @CATOBJEXT@ ++CATOBJEXT = .mo + INSTOBJEXT = @INSTOBJEXT@ + + .SUFFIXES: |