summaryrefslogtreecommitdiffstats
path: root/ftp/spegla/files/patch-Makefile
blob: ba9ee5b21f5325de5ca0b532cf284ca976acc138 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
--- 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
OpenPOWER on IntegriCloud