ports/96011: Update port: security/gtk-knocker

KATO Tsuguru tkato432 at yahoo.com
Tue Apr 18 16:10:26 UTC 2006


>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:



More information about the freebsd-ports-bugs mailing list