opnsense-ports/math/spar/Makefile
Shawn Webb 7eb3f149a7
Revert "Some ports won't work with PIE or RELRO+BIND_NOW."
This work will be redone as a bsd.hardening.exceptions.mk file.
OPNsense's ports sync script would overwrite the port Makefile.

This reverts commit 1b4cfac052.
2016-08-18 09:38:55 -04:00

28 lines
655 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= spar
PORTVERSION= 0.5.10
PORTREVISION= 3
CATEGORIES= math devel
MASTER_SITES= SF/${PORTNAME}/Spar/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Modular math parser
USES= dos2unix libtool ncurses readline
DOS2UNIX_FILES= lib/randist/rand.c
GNU_CONFIGURE= yes
USE_CSTD= gnu89
USE_LDCONFIG= yes
post-patch:
@${REINPLACE_CMD} -e "s,-ldl,,g" \
${WRKSRC}/lib/Makefile.in ${WRKSRC}/lib/module/Makefile.in
@${REINPLACE_CMD} -e 's|-lcurses|-lncurses|' ${WRKSRC}/configure
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/spar/*.so
.include <bsd.port.mk>