freebsd-ports/devel/libdap/Makefile
John Marino e5acdd1a47 devel/libdap: Unbreak build on DragonFly after r400253
OSVERSION checks need to be validated by checking OPSYS, especially
with the ">" comparison.  In this case, the extra patch got applied
to all releases of DragonFly unconditionally, breaking the build.

Approved by:	blanket for OSVERSION usage
2015-11-03 18:52:39 +00:00

31 lines
756 B
Makefile

# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$
PORTNAME= libdap
PORTVERSION= 3.16.0
CATEGORIES= devel
MASTER_SITES= http://www.opendap.org/pub/source/ \
LOCAL/sunpoet
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= SDK which contains an implementation of DAP 2.0 and 3.1
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \
libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid \
libxml2.so:${PORTSDIR}/textproc/libxml2
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
USES= bison charsetfix gmake libtool localbase pathfix
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100000
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-dds.yy
.endif
.include <bsd.port.post.mk>