1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/comms/tits/files/patch-Makefile
Michael Landin af4f260a20 - update to -> 1.3.0
- cleanup Makefile to keep portlint happy
- regenerate patches to keep portlint happy

PR:		238610
Submitted by:	Thomas Merkel <tm@NetBSD.org>
2019-06-17 13:37:52 +00:00

31 lines
938 B
Plaintext

--- Makefile.orig 2011-01-15 12:47:19 UTC
+++ Makefile
@@ -29,22 +29,22 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-WARNS= 2
+NO_WERROR=1
PROG= tits
-MAN= tits.8
+MAN8= tits.8
SRCS= main.c buffer.c client.c context.c listener.c masterpty.c telnet.c
SRCS+= tty.c dispatcher.c setup.c config.c server.c logger.c stdio2pty.c
SRCS+= rtelnet.c
.if !defined(SMALLPROG)
-CPPFLAGS+= -DLIBWRAP -DTITS_DEFAULT_CONFIG_FILE=\"${LOCALBASE}/etc/tits.conf\"
+CFLAGS+= -DLIBWRAP -DTITS_DEFAULT_CONFIG_FILE=\"${LOCALBASE}/etc/tits.conf\"
LDADD+= -lwrap
.else
-CPPFLAGS+= -DTITS_DEFAULT_CONFIG_FILE=\"/etc/tits.conf\"
+CFLAGS+= -DTITS_DEFAULT_CONFIG_FILE=\"${LOCALBASE}/etc/tits.conf\"
.endif
-CPPFLAGS+= -DTITS_DEFAULT_LINKDIR=\"/var/run\"
+CFLAGS+= -DTITS_DEFAULT_LINKDIR=\"/var/run\"
PREFIX?= /usr/local
BINDIR?= ${PREFIX}/sbin