ports/126063: [maintainer update] archivers/liborange: fix pkg-config file

Alexander Logvinov ports at logvinov.com
Tue Jul 29 03:10:02 UTC 2008


>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:



More information about the freebsd-ports-bugs mailing list