From d0426e3b88203987d9fb15d4495926afde50a689 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Fri, 3 May 2013 21:01:38 +0000 Subject: [PATCH] Fix build on current --- sysutils/upsd/Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/sysutils/upsd/Makefile b/sysutils/upsd/Makefile index da1251eb5452..fc66a35e4347 100644 --- a/sysutils/upsd/Makefile +++ b/sysutils/upsd/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: upsd -# Date created: 11 Jul 1996 -# Whom: alexis -# +# Created by: alexis # $FreeBSD$ -# PORTNAME= upsd PORTVERSION= 2.0.1.6 @@ -21,6 +17,7 @@ PLIST_FILES= sbin/upsd etc/upsd.conf etc/rc.d/upsd.sh pre-build: @${MV} ${WRKSRC}/config.h ${WRKSRC}/conf.h.orig @${SED} -e "s!@prefix@!${PREFIX}!g" ${WRKSRC}/conf.h.orig > ${WRKSRC}/conf.h + @${REINPLACE_CMD} -e 's/NOMAN/NO_MAN/g' ${WRKSRC}/Makefile post-install: @if [ ! -f ${PREFIX}/etc/rc.d/upsd.sh ]; then \