freebsd-ports/devel/argp-standalone/Makefile
Hans Petter Selasky 61a298ef1e Fix segmentation fault when showing help text.
Found when running dvbv5-scan (part of coming v4l-utils upgrade).

Backtrace:
#0 hol_entry_help (entry=0x8007e0000, state=0x0, stream=0x8007d3000,
       hhstate=0x7fffffffe5d8) at argp-help.c:1164
#1 hol_help (hol=0x8007df000, state=0x0, stream=0x8007d3000) at argp-help.c:1230
#2 _help (argp=0x7fffffffe750, state=0x0, stream=0x8004fca20, flags=634,
       name=0x2018ce "dvbv5-scan") at argp-help.c:1675
#3 argp_help (argp=0x7fffffffe750, stream=0x8004fca20, flags=634,
       name=0x2018ce "dvbv5-scan") at argp-help.c:1707

Upstream maintainer has been notified.

Approved by:	pi (implicit)
2020-04-09 17:57:57 +00:00

30 lines
661 B
Makefile

# Created by: Sergey Matveychuk <sem@ciam.ru>
# $FreeBSD$
PORTNAME= argp-standalone
PORTVERSION= 1.3
PORTREVISION= 4
CATEGORIES= devel
MASTER_SITES= http://www.lysator.liu.se/~nisse/misc/ \
LOCAL/sem
MAINTAINER= ports@FreeBSD.org
COMMENT= Standalone version of arguments parsing functions from GLIBC
LICENSE= LGPL20+ PD
LICENSE_COMB= multi
USES= autoreconf libtool
USE_CSTD= gnu89
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
PLIST_FILES= lib/libargp.a \
lib/libargp.so lib/libargp.so.0 lib/libargp.so.0.0.0 \
include/argp.h
post-install:
${INSTALL_DATA} ${WRKSRC}/argp.h ${STAGEDIR}${PREFIX}/include
.include <bsd.port.mk>