aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2006-04-20 13:41:06 +0800
committersem <sem@FreeBSD.org>2006-04-20 13:41:06 +0800
commitca3188a9d6e2ca6500f901b1ac451da831efce14 (patch)
tree2b85326445ce19d2037530d23fe43f5b42c112b6 /security
parent16caa2e6c1fd171e46d864aafc34b8e55e5488fa (diff)
downloadfreebsd-ports-gnome-ca3188a9d6e2ca6500f901b1ac451da831efce14.tar.gz
freebsd-ports-gnome-ca3188a9d6e2ca6500f901b1ac451da831efce14.tar.zst
freebsd-ports-gnome-ca3188a9d6e2ca6500f901b1ac451da831efce14.zip
- Fix build with gcc 3.x (FreeBSD 5.0+)
- Install a man page in ${MANPREFIX} not ${PREFIX} PR: ports/96011 Submitted by: Ports Fury
Diffstat (limited to 'security')
-rw-r--r--security/gtk-knocker/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/security/gtk-knocker/Makefile b/security/gtk-knocker/Makefile
index 3c26f815d6c6..697da8fd7be2 100644
--- a/security/gtk-knocker/Makefile
+++ b/security/gtk-knocker/Makefile
@@ -26,11 +26,17 @@ MAN1= gtk-knocker.1
.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>