freebsd-ports/net/parpd/Makefile
Mark Linimon a00547aa72 Prepare for powerpc-on-clang by deleting hard-coded tests for architecture
as a stand-in for "are we running on gcc".

In some cases we only need to specifically test for "are we on the ancient
base gcc", e.g, the usage of 'pragma'.

While here, in some cases turn off SSE functions more specifically based
on ARCH, and turn off -mtune=generic everywhere.  These are part of a
larger work in progress; these commits are for ports that would have
been touched by the the powerpc-on-clang test regardless.

Approved by:	portmgr (tier-2 blanket)
2019-07-25 02:33:12 +00:00

31 lines
661 B
Makefile

# $FreeBSD$
PORTNAME= parpd
DISTVERSION= 1.2
CATEGORIES= net
MASTER_SITES= ftp://ftp.iks-jena.de/pub/mitarb/lutz/parpd/
MAINTAINER= lutz@donnerhacke.de
COMMENT= Proxy-ARP daemon
LICENSE= ART20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= compiler tar:tgz
USE_RC_SUBR= parpd
NO_TEST= yes
PLIST_FILES= sbin/parpd man/man8/parpd.8.gz
.include <bsd.port.pre.mk>
.if ${CHOSEN_COMPILER_TYPE} == gcc
pre-configure:
${REINPLACE_CMD} -e 's|-Wpedantic||' ${WRKSRC}/Makefile
.endif
do-install:
${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/parpd ${STAGEDIR}${PREFIX}/sbin
${INSTALL_MAN} ${INSTALL_WRKSRC}/parpd.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
.include <bsd.port.post.mk>