View | Details | Raw Unified | Return to bug 119783
Collapse All | Expand All

(-)/usr/ports/devel/cscope/Makefile (-1 / +2 lines)
Lines 8-14 Link Here
8
8
9
PORTNAME=	cscope
9
PORTNAME=	cscope
10
PORTVERSION=	15.6
10
PORTVERSION=	15.6
11
PORTREVISION=	0
12
CATEGORIES=	devel
11
CATEGORIES=	devel
13
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
14
MASTER_SITE_SUBDIR=	${PORTNAME}
13
MASTER_SITE_SUBDIR=	${PORTNAME}
Lines 19-24 Link Here
19
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
20
CONFIGURE_ARGS=	--with-yacc
19
CONFIGURE_ARGS=	--with-yacc
21
20
21
PLIST_FILES=	bin/cscope \
22
		bin/ocs
22
MAN1=		cscope.1
23
MAN1=		cscope.1
23
24
24
.include <bsd.port.mk>
25
.include <bsd.port.mk>
(-)/usr/ports/devel/cscope/files/patch-main.c (-4 / +12 lines)
Lines 1-6 Link Here
1
--- src/main.c.orig	Sat Sep 30 01:13:00 2006
1
--- src/main.c.orig	2006-09-30 03:13:00.000000000 -0500
2
+++ src/main.c	Thu Oct  5 15:21:30 2006
2
+++ src/main.c	2008-01-18 15:01:59.000000000 -0600
3
@@ -359,7 +359,7 @@ cscope: TMPDIR to a valid directory\n");
3
@@ -359,7 +359,7 @@
4
     /* create the temporary file names */
4
     /* create the temporary file names */
5
     orig_umask = umask(S_IRWXG|S_IRWXO);
5
     orig_umask = umask(S_IRWXG|S_IRWXO);
6
     pid = getpid();
6
     pid = getpid();
Lines 9-15 Link Here
9
     if(mkdir(tempdirpv,S_IRWXU)) {
9
     if(mkdir(tempdirpv,S_IRWXU)) {
10
 	fprintf(stderr, "\
10
 	fprintf(stderr, "\
11
 cscope: Could not create private temp dir %s\n",
11
 cscope: Could not create private temp dir %s\n",
12
@@ -368,8 +368,13 @@ cscope: Could not create private temp di
12
@@ -368,8 +368,13 @@
13
     }
13
     }
14
     umask(orig_umask);
14
     umask(orig_umask);
15
 
15
 
Lines 25-27 Link Here
25
 
25
 
26
     /* if running in the foreground */
26
     /* if running in the foreground */
27
     if (signal(SIGINT, SIG_IGN) != SIG_IGN) {
27
     if (signal(SIGINT, SIG_IGN) != SIG_IGN) {
28
@@ -379,6 +384,7 @@
29
     }
30
     /* cleanup on the hangup signal */
31
     signal(SIGHUP, myexit);
32
+    signal(SIGTERM, myexit);
33
 
34
     /* if the database path is relative and it can't be created */
35
     if (reffile[0] != '/' && access(".", WRITE) != 0) {
(-)/usr/ports/devel/cscope/pkg-plist (-2 lines)
Lines 1-2 Link Here
1
bin/cscope
2
bin/ocs

Return to bug 119783