aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2003-10-14 22:39:55 +0800
committerosa <osa@FreeBSD.org>2003-10-14 22:39:55 +0800
commitb4259a58450caabcabd9e74931450a1c47e030e5 (patch)
treed19883988454ccaeff9212e35bc672afa06b245b /dns
parent37f26db693fdc969f92999b82d62bc5cb44f7911 (diff)
downloadfreebsd-ports-graphics-b4259a58450caabcabd9e74931450a1c47e030e5.tar.gz
freebsd-ports-graphics-b4259a58450caabcabd9e74931450a1c47e030e5.tar.zst
freebsd-ports-graphics-b4259a58450caabcabd9e74931450a1c47e030e5.zip
- 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 Submitted by: Sergei Kolobov <sergei@kolobov.com> (maintainer) PR: 58005
Diffstat (limited to 'dns')
-rw-r--r--dns/posadis/Makefile18
-rw-r--r--dns/posadis/pkg-plist17
2 files changed, 24 insertions, 11 deletions
diff --git a/dns/posadis/Makefile b/dns/posadis/Makefile
index be59e34ea69..25206922377 100644
--- a/dns/posadis/Makefile
+++ b/dns/posadis/Makefile
@@ -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 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= sergei@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
diff --git a/dns/posadis/pkg-plist b/dns/posadis/pkg-plist
index c9bce754e07..458ee4817ca 100644
--- a/dns/posadis/pkg-plist
+++ b/dns/posadis/pkg-plist
@@ -15,19 +15,22 @@ include/posadis-%%VERSION%%/pbl.h
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