Bug 169990

Summary: [MAINTAINER] japanese/libskk: make configure fails when lang/vala has been installed
Product: Ports & Packages Reporter: hiroto.kagotani
Component: Individual Port(s)Assignee: Ruslan Makhmatkhanov <rm>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
ja-libskk-0.0.13.patch none

Description hiroto.kagotani 2012-07-19 09:50:08 UTC
libskk checks wheather the version of vala compiler is
greater than or equal to 0.14.0.
Since the version of lang/vala is still 0.12.1,
if it is installed, the configure process fails.

However, building libskk does not use vala compiler
because it provides precompiled .c files.

This update disables Vala version check in configure.

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: suffix)
Comment 1 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2012-07-20 11:14:12 UTC
Responsible Changed
From-To: freebsd-ports-bugs->rm

I will take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-07-20 11:24:53 UTC
Author: rm
Date: Fri Jul 20 10:24:42 2012
New Revision: 301220
URL: http://svn.freebsd.org/changeset/ports/301220

Log:
  - fix build if lang/vala is installed (the port needs vala >= 0.14.0)
  - not bumping PORTREVISION because it was broken in this case anyway
  
  PR:		169990
  Submitted by:	Hiroto Kagotani <hiroto.kagotani at gmail dot com> (maintainer)

Modified:
  head/japanese/libskk/Makefile

Modified: head/japanese/libskk/Makefile
==============================================================================
--- head/japanese/libskk/Makefile	Fri Jul 20 08:28:33 2012	(r301219)
+++ head/japanese/libskk/Makefile	Fri Jul 20 10:24:42 2012	(r301220)
@@ -38,6 +38,10 @@ CONFIGURE_ARGS+=	--disable-nls
 PLIST_SUB+=	NLS="@comment "
 .endif
 
+post-patch:
+	# Disabling Vala version check
+	${REINPLACE_CMD} -e 's/as_fn_error.*Vala.*not found.*;;/;;/' ${WRKSRC}/configure
+
 post-install:
 	cd ${WRKSRC}/docs && ${GMAKE} install-man
 
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2012-07-20 11:48:38 UTC
State Changed
From-To: open->closed

Committed, thank you!