Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Mar 2013 14:21:29 +0900 (JST)
From:      Hiroto Kagotani <hiroto.kagotani@gmail.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/177175: [MAINTAINER] japanese/libskk: build fails with CC=clang or on 10-current
Message-ID:  <201303210521.r2L5LTw1007087@serv52.infsys.cne.okayama-u.ac.jp>
Resent-Message-ID: <201303210600.r2L600Or095284@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         177175
>Category:       ports
>Synopsis:       [MAINTAINER] japanese/libskk: build fails with CC=clang or on 10-current
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 21 06:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Hiroto Kagotani
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD myhost.mydomain 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10
>Description:
Use GCC as the compiler since clang does not compile.
Trim Makefile header.
Remove unnecessary post-patch since Vala port is up-to-date enough now.

Generated with FreeBSD Port Tools 0.99_7 (mode: change, diff: suffix)
>How-To-Repeat:
>Fix:

--- ja-libskk-1.0.0_1.patch begins here ---
diff -ruN ../libskk.orig/Makefile ./Makefile
--- ../libskk.orig/Makefile	2013-03-21 14:04:43.000000000 +0900
+++ ./Makefile	2013-03-21 14:02:25.000000000 +0900
@@ -1,9 +1,4 @@
-# New ports collection makefile for:	libskk
-# Date created:	21 December 2011
-# Whom:		Hiroto Kagotani <hiroto.kagotani@gmail.com>
-#
 # $FreeBSD: japanese/libskk/Makefile 313633 2013-03-08 10:51:34Z kwm $
-#
 
 PORTNAME=	libskk
 PORTVERSION=	1.0.0
@@ -20,6 +15,8 @@
 
 USE_LDCONFIG=	yes
 USE_GMAKE=	yes
+# clang does not overlook the Vala's bug arround return_val_if_* statements
+USE_GCC=	4.2+
 USE_GNOME=	intltool gnomehack
 USE_PKGCONFIG=	build
 GNU_CONFIGURE=	yes
@@ -40,10 +37,6 @@
 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
 
--- ja-libskk-1.0.0_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303210521.r2L5LTw1007087>