Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Apr 2006 01:00:32 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/96011: Update port: security/gtk-knocker
Message-ID:  <20060419010032.5c3746f1.tkato432@yahoo.com>
Resent-Message-ID: <200604181610.k3IGAIZ9061481@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         96011
>Category:       ports
>Synopsis:       Update port: security/gtk-knocker
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 18 16:10:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p15 i386
>Organization:
>Environment:
>Description:
- Fix build with gcc 3.x

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/security/gtk-knocker/Makefile security/gtk-knocker/Makefile
--- /usr/ports/security/gtk-knocker/Makefile	Sat Apr 15 14:26:11 2006
+++ security/gtk-knocker/Makefile	Tue Apr 18 23:53:01 2006
@@ -26,11 +26,17 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} >= 502000
-BROKEN=		"Does not compile"
-.endif
+post-patch:
+.for file in src/gtk_support.c src/gtk_callbacks.c
+	@${REINPLACE_CMD} -e 's|"\.\./pixmaps"|PACKAGE_DATA_DIR "/pixmaps"|g' \
+		${WRKSRC}/${file}
+.endfor
+.for file in src/license.h
+	@${REINPLACE_CMD} -e 's|$$|\\n\\|g ; \
+		 s|^".*|";|g' ${WRKSRC}/${file}
+.endfor
 
 post-install:
-	@${INSTALL_MAN} ${WRKSRC}/docs/gtk-knocker.1 ${PREFIX}/man/man1
+	@${INSTALL_MAN} ${WRKSRC}/docs/gtk-knocker.1 ${MANPREFIX}/man/man1
 
 .include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060419010032.5c3746f1.tkato432>