diff options
author | tijl <tijl@FreeBSD.org> | 2014-05-21 03:56:15 +0800 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2014-05-21 03:56:15 +0800 |
commit | 05548eb4f85054c72acdf4863969869ccab678ff (patch) | |
tree | 2785d8af64ef5d7d86cee9f26333b05a1be5c6d6 /security | |
parent | 590760f1d4feb37ddaf546d4e7416fbad00f9876 (diff) | |
download | freebsd-ports-gnome-05548eb4f85054c72acdf4863969869ccab678ff.tar.gz freebsd-ports-gnome-05548eb4f85054c72acdf4863969869ccab678ff.tar.zst freebsd-ports-gnome-05548eb4f85054c72acdf4863969869ccab678ff.zip |
- Remove build dependency on pkgconf.
- USES=libtool pathfix.
- Reenable -fstack-protector. There was only ever a problem on FreeBSD
i386 <10 which can be fixed by adding -lssp_nonshared to LDFLAGS like
Mk/bsd.ssp.mk does.
Approved by: cs (maintainer)
Diffstat (limited to 'security')
-rw-r--r-- | security/libotr/Makefile | 27 | ||||
-rw-r--r-- | security/libotr/pkg-plist | 2 |
2 files changed, 11 insertions, 18 deletions
diff --git a/security/libotr/Makefile b/security/libotr/Makefile index a425a7a284f5..ce81fa0b2326 100644 --- a/security/libotr/Makefile +++ b/security/libotr/Makefile @@ -2,9 +2,7 @@ PORTNAME= libotr PORTVERSION= 4.0.0 -# Please do not bump PORTREVISION for this port unless you have -# confirmed via testing that it is necessary -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= security net-im net MASTER_SITES= https://otr.cypherpunks.ca/ \ http://www.c-s.li/ports/ @@ -16,27 +14,22 @@ COMMENT= Portable OTR Messaging Library and toolkit LICENSE= LGPL21 -BUILD_DEPENDS= pkgconf>0:${PORTSDIR}/devel/pkgconf LIB_DEPENDS= libgpg-error.so:${PORTSDIR}/security/libgpg-error \ libgcrypt.so:${PORTSDIR}/security/libgcrypt CONFLICTS= libotr3-* -USE_AUTOTOOLS= autoconf libtool +GNU_CONFIGURE= yes +USES= libtool pathfix USE_LDCONFIG= yes -verify: checksum - gpg --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.asc - -.include <bsd.port.pre.mk> - -post-patch: - @${REINPLACE_CMD} -e 's#^pkgconfigdir .*#pkgconfigdir = ${PREFIX}/libdata/pkgconfig#' \ - ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.am +.include <bsd.port.options.mk> -.if ${OSVERSION} >= 800000 && ${OSVERSION} < 1000000 - @${REINPLACE_CMD} -e 's#OTR_CHECK_CFLAGS(.*stack-protector.*#dnl &#' \ - ${WRKSRC}/configure.ac +.if ${OSVERSION} < 1000036 && ${ARCH} == i386 +LDFLAGS+= -lssp_nonshared .endif -.include <bsd.port.post.mk> +verify: checksum + gpg --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.asc + +.include <bsd.port.mk> diff --git a/security/libotr/pkg-plist b/security/libotr/pkg-plist index a255f7d36a5a..8a054b57d85e 100644 --- a/security/libotr/pkg-plist +++ b/security/libotr/pkg-plist @@ -21,9 +21,9 @@ include/libotr/tlv.h include/libotr/userstate.h include/libotr/version.h lib/libotr.a -lib/libotr.la lib/libotr.so lib/libotr.so.5 +lib/libotr.so.5.0.0 libdata/pkgconfig/libotr.pc man/man1/otr_mackey.1.gz man/man1/otr_modify.1.gz |