1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/ftp/spegla/files/patch-Makefile
Hiroki Sato 37d5e627fd - Fix NOPORTEXAMPLES=yes case.
- Add WITH_IPV6 option.
2008-10-05 12:30:44 +00:00

33 lines
821 B
Plaintext

--- Makefile.orig 2008-10-05 21:20:36.000000000 +0900
+++ Makefile 2008-10-05 21:22:33.000000000 +0900
@@ -8,7 +8,8 @@
PROG = spegla
SRCS = jftp.c parserow.c spegla.c tgetopt.c container.c spf_util.c \
- que_syms.c e_err.c
+ que_syms.c e_err.c \
+ regcomp.c regerror.c regexec.c regfree.c
.if !(defined(HAVE_STRLCPY) && ${HAVE_STRLCPY} == "yes")
SRCS += strlcpy.c
CPPFLAGS += -DNO_STRLCPY
@@ -16,14 +17,6 @@
MAN = spegla.1
-FILES = spegla.sh spegla.conf
-FILESDIR = ${PREFIX}/share/examples/spegla
-
-filesinstall:: ${PREFIX}/share/examples/spegla
-
-${PREFIX}/share/examples/spegla:
- mkdir -p ${PREFIX}/share/examples/spegla
-
#WARNS = 2
CFLAGS += -Wall
LDADD += -lcompat
@@ -73,3 +66,4 @@
cp ${.CURDIR}/../tgetopt/tgetopt.c tgetopt.c
.endif
+.PATH: ${.CURDIR}/regex