Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Oct 2008 13:07:03 +0100 (CET)
From:      Romain Tartiere <romain@blogreen.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/128478: [patch] lang/vala typo in Makefile make it impossible to build vapigen.
Message-ID:  <20081030120703.A5DC55C18E@marvin.blogreen.org>
Resent-Message-ID: <200810301240.m9UCe1Zf070099@freefall.freebsd.org>

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

>Number:         128478
>Category:       ports
>Synopsis:       [patch] lang/vala typo in Makefile make it impossible to build vapigen.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 30 12:40:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Romain Tartiere
>Release:        FreeBSD 7.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD marvin.blogreen.org 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #22: Thu Oct 16 10:52:22 CEST 2008 root@marvin.blogreen.org:/usr/obj/usr/src/sys/MARVIN i386


	
>Description:
A typo in the lang/vala Makefile prevents to build vapigen if asked to.

pkg-plist has to be fixed too.
>How-To-Repeat:
	
>Fix:

--- vala.diff begins here ---
diff -Nur vala.orig/Makefile vala/Makefile
--- vala.orig/Makefile   2008-10-30 12:57:18.000000000 +0100
+++ vala/Makefile        2008-10-30 13:03:05.000000000 +0100
@@ -27,11 +27,12 @@
 
 .include <bsd.port.pre.mk>
 
-.if defined(WITH_VAIPGEN)
+.if defined(WITH_VAPIGEN)
 CONFIGURE_ARGS+=        --enable-vapigen
 BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML
 RUN_DEPENDS+=   ${SITE_PERL}/${PERL_ARCH}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML
 PLIST_SUB+=     VAPIGEN=""
+MAN1+=          vala-gen-introspect.1 vapigen.1
 .else
 CONFIGURE_ARGS+=        --disable-vapigen
 PLIST_SUB+=     VAPIGEN="@comment "
diff -Nur vala.orig/pkg-plist vala/pkg-plist
--- vala.orig/pkg-plist  2008-10-30 12:57:18.000000000 +0100
+++ vala/pkg-plist       2008-10-30 13:03:08.000000000 +0100
@@ -1,7 +1,8 @@
-%%VAPIGEN%%bin/gidlgen
 bin/valac
+%%VAPIGEN%%bin/vala-gen-introspect
 %%VAPIGEN%%bin/vapicheck
 %%VAPIGEN%%bin/vapigen
+%%VAPIGEN%%lib/vala/gen-introspect
 include/vala-1.0/ccode/valaccodeassignment.h
 include/vala-1.0/ccode/valaccodebinaryexpression.h
 include/vala-1.0/ccode/valaccodeblock.h
@@ -212,8 +213,6 @@
 lib/libvala.la
 lib/libvala.so
 lib/libvala.so.0
-%%VAPIGEN%%lib/vala/gapi2xml.pl
-%%VAPIGEN%%lib/vala/gapi_pp.pl
 libdata/pkgconfig/vala-1.0.pc
 share/devhelp/books/vala/classes.html
 share/devhelp/books/vala/default.css
--- vala.diff ends here ---


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



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