openbsd-ports/net/ii/patches/patch-config_mk
bentley 05a260cf32 Update to ii-1.7.
Changes since last release (http://lists.suckless.org/dev/1301/13945.html):

1.7 (2013-01-05)
    - -k now specifies an environment variable that contains the
      server key. This behaviour has been changed in order to not
      expose the password in the process list.
    - Fix parsing of JOIN messages for certain servers.
      Thanks Ivan Kanakarakis!
    - Use , rather than _ for slash characters in channel names.
      As per RFC , is not allowed in a channel name, while _ is.
      Thanks plomplomplom and Nils Dagsson Moskopp!

ok gsoares@ (maintainer)
2013-01-07 14:15:15 +00:00

22 lines
755 B
Plaintext

$OpenBSD: patch-config_mk,v 1.3 2013/01/07 14:15:16 bentley Exp $
--- config.mk.orig Sat Jan 5 06:15:12 2013
+++ config.mk Sun Jan 6 18:07:51 2013
@@ -15,13 +15,13 @@ LIBDIR = ${PREFIX}/lib
VERSION = 1.7
# includes and libs
-INCLUDES = -I. -I${INCDIR} -I/usr/include
-LIBS = -L${LIBDIR} -L/usr/lib -lc
+INCLUDES += -I${INCDIR}
+LIBS = -L${LIBDIR}
# uncomment and comment other variables for compiling on Solaris
#LIBS = -L${LIBDIR} -L/usr/lib -lc -lsocket -lnsl
#CFLAGS = -g ${INCLUDES} -DVERSION=\"${VERSION}\"
# compiler
CC = cc
-CFLAGS = -g -O0 -W -Wall ${INCLUDES} -DVERSION=\"${VERSION}\"
-LDFLAGS = ${LIBS}
+CFLAGS += ${INCLUDES} -DVERSION=\"${VERSION}\"
+LDFLAGS += ${LIBS}