Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Mar 2010 19:53:29 GMT
From:      Toni Gundogdu <legatvs@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/145086: [maintainer update] multimedia/quvi to 0.1.3
Message-ID:  <201003271953.o2RJrTPe066239@www.freebsd.org>
Resent-Message-ID: <201003272000.o2RK0A6h043274@freefall.freebsd.org>

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

>Number:         145086
>Category:       ports
>Synopsis:       [maintainer update] multimedia/quvi to 0.1.3
>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:   Sat Mar 27 20:00:10 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Toni Gundogdu
>Release:        FreeBSD 8.0-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
* update to 0.1.3

* replace files/patch-Makefile.in with REINPLACE_CMD

  - NOTE: please remove files/patch-Makefile.in

* fix CPPFLAGS="-I${LOCALBASE}/include" with CONFIGURE_ENV

  - "quvi/quvi.h" was picked from $LOCALBASE rather than
  $top_builddir/include


>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Subject: [PATCH] update to 0.1.3.

---
 Makefile                |   12 ++++++++++--
 distinfo                |    6 +++---
 files/patch-Makefile.in |   11 -----------
 3 files changed, 13 insertions(+), 16 deletions(-)
 delete mode 100644 files/patch-Makefile.in

diff --git a/Makefile b/Makefile
index d26e939..2f67be9 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	quvi
-PORTVERSION=	0.1.1
+PORTVERSION=	0.1.3
 CATEGORIES=	multimedia devel
 MASTER_SITES=	GOOGLE_CODE
 
@@ -17,7 +17,7 @@ LIB_DEPENDS=	curl.5:${PORTSDIR}/ftp/curl \
 		pcre.0:${PORTSDIR}/devel/pcre
 
 USE_LDCONFIG=	yes
-SHLIB_VER=	0
+SHLIB_VER=	1
 
 MAKE_ENV=	SHLIB_VER="${SHLIB_VER}"
 PLIST_SUB=	SHLIB_VER="${SHLIB_VER}"
@@ -29,6 +29,9 @@ GNU_CONFIGURE=	yes
 USE_GNOME=	pkgconfig
 USE_ICONV=	yes
 
+CONFIGURE_ENV+=	CPPFLAGS='${CPPFLAGS} -I${WRKSRC}/include \
+		-I${LOCALBASE}/include'
+
 OPTIONS=	SMUT "Enable adult website support" off
 
 .include <bsd.port.pre.mk>
@@ -37,4 +40,9 @@ OPTIONS=	SMUT "Enable adult website support" off
 CONFIGURE_ARGS+=--enable-smut
 .endif
 
+post-patch:
+	@${REINPLACE_CMD} -E -e \
+		's|\$$\(libdir\)/pkgconfig|\$$\(prefix\)/libdata/pkgconfig|' \
+		${WRKSRC}/Makefile.in
+
 .include <bsd.port.post.mk>
diff --git a/distinfo b/distinfo
index 7b5e71b..31cc356 100644
--- a/distinfo
+++ b/distinfo
@@ -1,3 +1,3 @@
-MD5 (quvi-0.1.1.tar.bz2) = e356272f9e97aefda931eb0d1ab43926
-SHA256 (quvi-0.1.1.tar.bz2) = e3c33c10622d23d5f7adf50db34b2a16fba068f30ad3e7a0df0d5e96473bd7ae
-SIZE (quvi-0.1.1.tar.bz2) = 328045
+MD5 (quvi-0.1.3.tar.bz2) = 12ac6a254f11b11effe1a1acde6e6928
+SHA256 (quvi-0.1.3.tar.bz2) = 588476b62ecfdb4101e99e344df8d393b68ea2ec453f5c27fc62e983b5dc7962
+SIZE (quvi-0.1.3.tar.bz2) = 331900
diff --git a/files/patch-Makefile.in b/files/patch-Makefile.in
deleted file mode 100644
index a238230..0000000
--- a/files/patch-Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.in.orig
-+++ Makefile.in
-@@ -285,7 +285,7 @@ docs/howto/HowtoSubmitPatches \
- quvi.pod
- 
- @WITH_MAN_TRUE@dist_man_MANS = quvi.1
--pkgconfigdir = $(libdir)/pkgconfig
-+pkgconfigdir = $(prefix)/libdata/pkgconfig
- pkgconfig_DATA = libquvi.pc
- SUBDIRS = include lib src examples tests
- all: config.h
-- 
1.7.0.3



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



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