dd4e75fcde
Hat: portmgr
40 lines
975 B
Makefile
40 lines
975 B
Makefile
# New ports collection makefile for: libparanoia
|
|
# Date created: 1 Jan 1999
|
|
# Whom: Alexandre Snarskii <snar@paranoia.ru>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libparanoia
|
|
PORTVERSION= 1.4
|
|
PORTREVISION= 3
|
|
CATEGORIES= security
|
|
MASTER_SITES= ftp://ftp.lexa.ru/pub/domestic/snar/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Safe (in the mean of stack smashing) reincarnation of strcpy et al
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
# this library depends on system-defined headers "SYS.h" and "DEFS.h"
|
|
# which may differ from release to release.
|
|
|
|
.if !exists(/usr/src/lib/libc)
|
|
IGNORE= You need to have libc sources installed in /usr/src/lib/libc \
|
|
before compiling.
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
pre-patch:
|
|
@${REINPLACE_CMD} -e 's|\(SIGSEGV\),\(getpid()\)|\2,\1|; \
|
|
s|#include <varargs.h>||' \
|
|
${WRKSRC}/stentry.c
|
|
|
|
.if ${OSVERSION} >= 500039
|
|
post-patch:
|
|
@(cd ${_DISTDIR};${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/vsnprintf-current.patch)
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|