diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-07-10 08:52:11 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-07-10 08:52:11 +0000 |
commit | 4d91939529d5495c000d75e77b501beeefa3036d (patch) | |
tree | e7f4bb21bc0ed8ca75e886142ac0cf34fecabb71 /textproc/gnomespell-devel | |
parent | 4e303989c5fcbd3a94edb94c91606ca34c9fb2e4 (diff) | |
download | FreeBSD-ports-4d91939529d5495c000d75e77b501beeefa3036d.zip FreeBSD-ports-4d91939529d5495c000d75e77b501beeefa3036d.tar.gz |
Use USE_GNOMENG.
Diffstat (limited to 'textproc/gnomespell-devel')
-rw-r--r-- | textproc/gnomespell-devel/Makefile | 10 | ||||
-rw-r--r-- | textproc/gnomespell-devel/files/patch-configure | 37 |
2 files changed, 41 insertions, 6 deletions
diff --git a/textproc/gnomespell-devel/Makefile b/textproc/gnomespell-devel/Makefile index 1b06467..9d3bb12 100644 --- a/textproc/gnomespell-devel/Makefile +++ b/textproc/gnomespell-devel/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/gnomespell-devel/files/patch-configure b/textproc/gnomespell-devel/files/patch-configure new file mode 100644 index 0000000..e1b5eff --- /dev/null +++ b/textproc/gnomespell-devel/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 + + + |