ports/73795: [PATCH] net/siproxd: fix dependency
Yen-Ming Lee
leeym at FreeBSD.org
Thu Nov 11 00:20:25 UTC 2004
>Number: 73795
>Category: ports
>Synopsis: [PATCH] net/siproxd: fix dependency
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Nov 11 00:20:24 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Yen-Ming Lee
>Release: FreeBSD 5.3-STABLE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 5.3-STABLE FreeBSD 5.3-STABLE #0: Mon Oct 25 01:17:22 CST 2004
>Description:
- utilize PORTDOCS
- replace pkg-plist with PLIST_FILES and PORTDOCS
- don't depend on gnugetopt on 5.x or above
Removed file(s):
- pkg-plist
Port maintainer (frank at dynamical-systems.org) is cc'd.
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- siproxd-0.5.8.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/net/siproxd/Makefile,v
retrieving revision 1.1
diff -u -u -r1.1 Makefile
--- Makefile 15 Oct 2004 15:47:27 -0000 1.1
+++ Makefile 11 Nov 2004 00:13:17 -0000
@@ -16,25 +16,34 @@
LIB_DEPENDS= osip2.2:${PORTSDIR}/net/libosip2
+USE_REINPLACE= yes
USE_GETOPT_LONG=yes
USE_RC_SUBR= yes
-HAS_CONFIGURE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_TARGET= # empty
-PORTDOCS= AUTHORS ChangeLog README RELNOTES \
- doc/FAQ doc/KNOWN_BUGS doc/RFC3261_compliance.txt \
- doc/sample_cfg_budgetone.txt doc/sample_cfg_x-lite.txt
+PORTDOCS1= AUTHORS ChangeLog README RELNOTES
+PORTDOCS2= FAQ KNOWN_BUGS RFC3261_compliance.txt \
+ sample_cfg_budgetone.txt sample_cfg_x-lite.txt
+PORTDOCS= ${PORTDOCS1} ${PORTDOCS2}
+PLIST_FILES= etc/rc.d/siproxd.sh etc/siproxd.conf.example \
+ etc/siproxd_passwd.cfg sbin/siproxd
.include <bsd.port.pre.mk>
+post-patch:
.if ${OSVERSION} >= 500041
-LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+ @${REINPLACE_CMD} -e 's,-lgnugetopt,,g' ${WRKSRC}/${CONFIGURE_SCRIPT}
.endif
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
-.for i in ${PORTDOCS}
+.for i in ${PORTDOCS1}
${INSTALL_MAN} ${WRKSRC}/${i} ${DOCSDIR}
+.endfor
+.for i in ${PORTDOCS2}
+ ${INSTALL_MAN} ${WRKSRC}/doc/${i} ${DOCSDIR}
.endfor
.endif
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
Index: pkg-plist
===================================================================
RCS file: pkg-plist
diff -N pkg-plist
--- pkg-plist 15 Oct 2004 15:47:27 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,9 +0,0 @@
-etc/rc.d/siproxd.sh
-etc/siproxd.conf.example
-etc/siproxd_passwd.cfg
-sbin/siproxd
-%%PORTDOCS%%%%DOCSDIR%%/FAQ
-%%PORTDOCS%%%%DOCSDIR%%/KNOWN_BUGS
-%%PORTDOCS%%%%DOCSDIR%%/RFC3261_compliance.txt
-%%PORTDOCS%%%%DOCSDIR%%/sample_cfg_budgetone.txt
-%%PORTDOCS%%%%DOCSDIR%%/sample_cfg_x-lite.txt
--- siproxd-0.5.8.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list