mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
af4f260a20
- cleanup Makefile to keep portlint happy - regenerate patches to keep portlint happy PR: 238610 Submitted by: Thomas Merkel <tm@NetBSD.org>
31 lines
938 B
Plaintext
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
|
|
|