1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/security/newpki-lib/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

52 lines
1.1 KiB
Makefile

# New ports collection makefile for: newpki-lib
# Date created: 2005-07-05
# Whom: Vsevolod Stakhov <vsevolod@highsecure.ru>
#
# $FreeBSD$
#
PORTNAME= newpki-lib
DISTVERSION= 2.0.0-beta4
PORTREVISION= 1
CATEGORIES= security devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= newpki
MAINTAINER= ports@FreeBSD.org
COMMENT= C++ PKI libraries from newpki project
WRKSRC= ${WRKDIR}/${PORTNAME}-2.0.0
USE_OPENSSL= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS+= --includedir=${PREFIX}/include/newpki
.if defined(WITHOUT_NLS)
BROKEN= does not build without gettext
PLIST_SUB+= NLS="@comment "
CONFIGURE_ARGS+= --disable-nls
.else
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
CONFIGURE_ARGS+= --with-libintl-prefix=${LOCALBASE}
.endif
GNU_CONFIGURE= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700019
BROKEN= does not compile with OpenSSL 0.9.8b
.endif
pre-patch:
@${FIND} ${WRKSRC} -name '*.cpp' -or -name '*.h' | ${XARGS} ${REINPLACE_CMD} -e 's|
||g'
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
.include <bsd.port.post.mk>