mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Link editors/gedit and graphics/evince with libICE. (Fixup for r351936)
Reported by: Mike Harding <mvharding@gmail.com>
This commit is contained in:
parent
91e69da959
commit
edf526ceb8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351960
@ -19,7 +19,7 @@ RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-co
|
||||
|
||||
USES= desktop-file-utils gettext gmake libtool:keepla pathfix \
|
||||
pkgconfig tar:bzip2
|
||||
USE_XORG= sm
|
||||
USE_XORG= ice sm
|
||||
INSTALLS_OMF= yes
|
||||
INSTALL_TARGET= install-strip
|
||||
USE_LDCONFIG= yes
|
||||
@ -45,4 +45,8 @@ CONFIGURE_ARGS+=--disable-python
|
||||
PLIST_SUB+= PYTHON="@comment "
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} '/EGG_SMCLIENT_LIBS =/s/$$/ -lICE/' \
|
||||
${WRKSRC}/gedit/smclient/Makefile.in
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -28,6 +28,7 @@ INSTALLS_OMF= yes
|
||||
USES= desktop-file-utils gettext gmake libtool:keepla pathfix \
|
||||
pkgconfig tar:bzip2
|
||||
USE_GNOME= intlhack gnomeprefix gnomedocutils gconf2
|
||||
USE_XORG= ice sm
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
INSTALL_TARGET= install-strip
|
||||
@ -117,6 +118,8 @@ post-patch:
|
||||
@${REINPLACE_CMD} -e 's|execinfo.h|#|g' \
|
||||
-e 's|" == "|" = "|g' \
|
||||
${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -e '/SMCLIENT_LIBS =/s/$$/ -lICE/' \
|
||||
${WRKSRC}/cut-n-paste/smclient/Makefile.in
|
||||
@${REINPLACE_CMD} -e '/^DOC_MODULE_VERSION/d' \
|
||||
${WRKSRC}/help/reference/libdocument/Makefile.in \
|
||||
${WRKSRC}/help/reference/libview/Makefile.in
|
||||
|
Loading…
Reference in New Issue
Block a user