1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- fix build with WITH_SKIM=yes

- add USE_GETTEXT

PR:		ports/97143
Submitted by:	Koji Yokota <yokota_AT_res dot otaru-uc dot ac dot jp>
Reviewed by:	clsung
Approved by:	maintainer (timeout)
This commit is contained in:
Cheng-Lung Sung 2006-08-23 01:18:00 +00:00
parent 302bf473af
commit 2afc577b26
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=171229

View File

@ -23,6 +23,7 @@ USE_X_PREFIX= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_GNOME= intlhack
USE_GETTEXT= yes
MAN1= scim-make-table.1
@ -50,10 +51,15 @@ pre-patch:
BUILD_DEPENDS+= skim:${PORTSDIR}/textproc/skim
CONFIGURE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}"
PLIST_SUB= SKIM=""
USE_AUTOTOOLS= libtool:15
post-patch:
@${REINPLACE_CMD} -e "/^DIST_SUBDIRS/s/$$/ skim/" \
-e "/^@SCIM_TABLES_ENABLE_SKIM_SUPPORT_TRUE@SKIM_SUBDIR =/s/$$/ skim/" \
${WRKSRC}/Makefile.in
post-configure:
${REINPLACE_CMD} \
-e 's,$$(top_builddir)/libtool --silent,${LIBTOOL},' \
${WRKSRC}/skim/Makefile ${WRKSRC}/skim/setupui/Makefile
.endif
post-install: