diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-07-10 08:52:11 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-07-10 08:52:11 +0000 |
commit | e2839c979ae96540f85f9a61aaae3954452268c3 (patch) | |
tree | 1b01c679ab6d9befe1c9b38a58eb7d578a603b4d /textproc/gnome-spell | |
parent | f2a0d7370bf7b7a367c37c0eb598160fd0a4d5ce (diff) | |
download | ports-e2839c979ae96540f85f9a61aaae3954452268c3.tar.gz ports-e2839c979ae96540f85f9a61aaae3954452268c3.zip |
Notes
Diffstat (limited to 'textproc/gnome-spell')
-rw-r--r-- | textproc/gnome-spell/Makefile | 10 | ||||
-rw-r--r-- | textproc/gnome-spell/files/patch-configure | 37 |
2 files changed, 41 insertions, 6 deletions
diff --git a/textproc/gnome-spell/Makefile b/textproc/gnome-spell/Makefile index 1b06467397a7..9d3bb125ae8f 100644 --- a/textproc/gnome-spell/Makefile +++ b/textproc/gnome-spell/Makefile @@ -20,17 +20,15 @@ LIB_DEPENDS= aspell.11:${PORTSDIR}/textproc/aspell USE_X_PREFIX= yes USE_PERL5= yes USE_GMAKE= yes -USE_GNOME= yes +USE_GNOMENG= yes +USE_GNOME= gnomeprefix gnomehack libglade gal USE_LIBTOOL= yes INSTALLS_SHLIB= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" -pre-patch: - @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ +post-patch: + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure - @find ${WRKSRC} -name "Makefile.in*" | xargs ${PERL} -pi -e \ - 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ - s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g' .include <bsd.port.mk> diff --git a/textproc/gnome-spell/files/patch-configure b/textproc/gnome-spell/files/patch-configure new file mode 100644 index 000000000000..e1b5eff37a3c --- /dev/null +++ b/textproc/gnome-spell/files/patch-configure @@ -0,0 +1,37 @@ + +$FreeBSD$ + +--- configure 2002/07/10 08:46:51 1.1 ++++ configure 2002/07/10 08:47:01 +@@ -1196,31 +1196,6 @@ + fi + fi + +- if test -n "capplet"; then +- n="capplet" +- for i in $n; do +- echo $ac_n "checking extra library \"$i\"""... $ac_c" 1>&6 +-echo "configure:1204: checking extra library \"$i\"" >&5 +- case $i in +- applets) +- +- GNOME_APPLETS_LIBS=`$GNOME_CONFIG --libs-only-l applets` +- echo "$ac_t""$GNOME_APPLETS_LIBS" 1>&6;; +- docklets) +- +- GNOME_DOCKLETS_LIBS=`$GNOME_CONFIG --libs-only-l docklets` +- echo "$ac_t""$GNOME_DOCKLETS_LIBS" 1>&6;; +- capplet) +- +- GNOME_CAPPLET_LIBS=`$GNOME_CONFIG --libs-only-l capplet` +- echo "$ac_t""$GNOME_CAPPLET_LIBS" 1>&6;; +- *) +- echo "$ac_t""unknown library" 1>&6 +- esac +- EXTRA_INCLUDEDIR=`$GNOME_CONFIG --cflags $i` +- GNOME_INCLUDEDIR="$GNOME_INCLUDEDIR $EXTRA_INCLUDEDIR" +- done +- fi + + + |