Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jul 2008 13:01:20 +1000 (YAKST)
From:      Alexander Logvinov <ports@logvinov.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Alexander Logvinov <ports@logvinov.com>
Subject:   ports/126063: [maintainer update] archivers/liborange: fix pkg-config file
Message-ID:  <200807290301.m6T31KYU073994@blg.akavia.ru>
Resent-Message-ID: <200807290310.m6T3A11h068713@freefall.freebsd.org>

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

>Number:         126063
>Category:       ports
>Synopsis:       [maintainer update] archivers/liborange: fix pkg-config file
>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:   Tue Jul 29 03:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Logvinov
>Release:        FreeBSD 6.3-RELEASE-p1 i386
>Organization:
>Environment:

>Description:

  Fix build with LIBSYNCE, LIBDYNAMITE, LIBUNSHIELD options enabled.
  Fix pkg-config file.
  Change WWW.
  Bump PORTREVISION.
	
>How-To-Repeat:

>Fix:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/archivers/liborange/Makefile,v
retrieving revision 1.15
diff -u -r1.15 Makefile
--- Makefile	17 Jun 2008 21:47:04 -0000	1.15
+++ Makefile	29 Jul 2008 01:28:50 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	liborange
 PORTVERSION=	0.3.2
+PORTREVISION=	1
 CATEGORIES=	archivers
 MASTER_SITES=	SF
 MASTER_SITE_SUBDIR=	synce
@@ -37,23 +38,26 @@
 
 .if !defined(WITH_LIBSYNCE)
 CONFIGURE_ARGS+=	--without-libsynce
+REQUIRES+=	libsynce
 .else
 LIB_DEPENDS+=		synce.0:${PORTSDIR}/palm/synce-libsynce
-CONFIGURE_ARGS+=	--with-libsynce=${LOCALBASE}
+CONFIGURE_ARGS+=	--with-libsynce
 .endif
 
 .if !defined(WITH_LIBDYNAMITE)
 CONFIGURE_ARGS+=	--without-libdynamite
+REQUIRES+=	libdynamite
 .else
 LIB_DEPENDS+=		dynamite.0:${PORTSDIR}/archivers/libdynamite
-CONFIGURE_ARGS+=	--with-libdynamite=${LOCALBASE}
+CONFIGURE_ARGS+=	--with-libdynamite
 .endif
 
 .if !defined(WITH_LIBUNSHIELD)
 CONFIGURE_ARGS+=	--without-libunshield
+REQUIRES+=	libunshield
 .else
 LIB_DEPENDS+=		unshield.0:${PORTSDIR}/archivers/unshield
-CONFIGURE_ARGS+=	--with-libunshield=${LOCALBASE}
+CONFIGURE_ARGS+=	--with-libunshield
 .endif
 
 .if defined(WITH_INNO)
@@ -69,4 +73,9 @@
 LIB_DEPENDS+=		gsf-1.114:${PORTSDIR}/devel/libgsf
 .endif
 
+post-patch:
+.for req in ${REQUIRES}
+	@${REINPLACE_CMD} -e 's|${req}||' ${WRKSRC}/${PORTNAME}.pc.in
+.endfor
+
 .include <bsd.port.post.mk>
Index: pkg-descr
===================================================================
RCS file: /home/pcvs/ports/archivers/liborange/pkg-descr,v
retrieving revision 1.3
diff -u -r1.3 pkg-descr
--- pkg-descr	17 Jun 2008 21:47:04 -0000	1.3
+++ pkg-descr	29 Jul 2008 01:59:48 -0000
@@ -4,4 +4,4 @@
 
 Supported installers include VISE, InstallShield, Setup Factory and more.
 
-WWW: http://synce.sourceforge.net/
+WWW: http://www.synce.org/moin/
>Release-Note:
>Audit-Trail:
>Unformatted:



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