ports/58005: [MAINTAINER] dns/posadis: add missing dependencies
Sergei Kolobov
sergei at kolobov.com
Tue Oct 14 12:50:16 UTC 2003
>Number: 58005
>Category: ports
>Synopsis: [MAINTAINER] dns/posadis: add missing dependencies
>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 Oct 14 05:50:13 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Sergei Kolobov
>Release: FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD elf.chetwood.ru 5.1-CURRENT FreeBSD 5.1-CURRENT #1: Sun Oct 5 18:18:29 MSD
>Description:
- Add dependency on devel/libltdl forgotten by ade
- Do not explicitly add --disable-ltdl-install to CONFIGURE_ARGS
as configure DTRT now
- Add optional dependency on devel/fam
- Sort pkg-plist
- Bump PORTREVISION
Generated with FreeBSD Port Tools 0.49
>How-To-Repeat:
>Fix:
--- posadis-0.60.1_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /FreeBSD/cvs/ports/dns/posadis/Makefile,v
retrieving revision 1.4
diff -u -u -r1.4 Makefile
--- Makefile 13 Oct 2003 20:36:36 -0000 1.4
+++ Makefile 14 Oct 2003 12:02:34 -0000
@@ -7,7 +7,7 @@
PORTNAME= posadis
PORTVERSION= 0.60.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= dns
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,15 +15,25 @@
MAINTAINER= sergei at kolobov.com
COMMENT= "Domain Name Server (DNS) implementation"
-LIB_DEPENDS= poslib.0:${PORTSDIR}/devel/poslib
+LIB_DEPENDS= poslib.0:${PORTSDIR}/devel/poslib \
+ ltdl.4:${PORTSDIR}/devel/libltdl
+
+.if defined(WITH_FAM) || exists(${LOCALBASE}/lib/libfam.so)
+CONFIGURE_ARGS= --enable-fam
+BUILD_DEPENDS= ${LOCALBASE}/include/fam.h:${PORTSDIR}/devel/fam
+RUN_DEPENDS= ${LOCALBASE}/bin/fam:${PORTSDIR}/devel/fam
+PLIST_SUB= FAM=""
+.else
+CONFIGURE_ARGS= --disable-fam
+PLIST_SUB= FAM="@comment "
+.endif
USE_LIBTOOL= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ARGS= --disable-ltdl-install
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
INSTALLS_SHLIB= yes
-PLIST_SUB= VERSION="${PORTVERSION}"
+PLIST_SUB+= VERSION="${PORTVERSION}"
MAN1= getzone.1 posadis.1 posadis-getroots.1 posask.1 poshost.1
MAN5= posadisrc.5
Index: pkg-plist
===================================================================
RCS file: /FreeBSD/cvs/ports/dns/posadis/pkg-plist,v
retrieving revision 1.3
diff -u -u -r1.3 pkg-plist
--- pkg-plist 13 Oct 2003 20:36:36 -0000 1.3
+++ pkg-plist 14 Oct 2003 11:42:36 -0000
@@ -15,19 +15,22 @@
include/posadis-%%VERSION%%/query.h
include/posadis-%%VERSION%%/recursive.h
include/posadis-%%VERSION%%/resolver.h
+include/posadis-%%VERSION%%/secondary.h
include/posadis-%%VERSION%%/stdquery.h
+include/posadis-%%VERSION%%/updates.h
include/posadis-%%VERSION%%/vector.h
include/posadis-%%VERSION%%/zones.h
include/posadis-%%VERSION%%/zonetransfer.h
-include/posadis-%%VERSION%%/secondary.h
-include/posadis-%%VERSION%%/updates.h
@dirrm include/posadis-%%VERSION%%
-lib/posadis/revmap.so.0
-lib/posadis/revmap.so
-lib/posadis/revmap.la
-lib/posadis/localhost.so.0
-lib/posadis/localhost.so
+%%FAM%%lib/posadis/fam.la
+%%FAM%%lib/posadis/fam.so
+%%FAM%%lib/posadis/fam.so.0
lib/posadis/localhost.la
+lib/posadis/localhost.so
+lib/posadis/localhost.so.0
+lib/posadis/revmap.la
+lib/posadis/revmap.so
+lib/posadis/revmap.so.0
@dirrm lib/posadis
lib/posadis-%%VERSION%%/include/posadis-config.h
@dirrm lib/posadis-%%VERSION%%/include
--- posadis-0.60.1_2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list