mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
Use USE_GNOMENG.
This commit is contained in:
parent
f2a0d7370b
commit
e2839c979a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=62751
@ -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>
|
||||
|
37
textproc/gnome-spell/files/patch-configure
Normal file
37
textproc/gnome-spell/files/patch-configure
Normal file
@ -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
|
||||
|
||||
|
||||
|
@ -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>
|
||||
|
37
textproc/gnomespell-devel/files/patch-configure
Normal file
37
textproc/gnomespell-devel/files/patch-configure
Normal file
@ -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
|
||||
|
||||
|
||||
|
@ -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>
|
||||
|
37
textproc/gnomespell/files/patch-configure
Normal file
37
textproc/gnomespell/files/patch-configure
Normal file
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user