aboutsummaryrefslogtreecommitdiff
path: root/security/gnome-ssh-askpass
diff options
context:
space:
mode:
authorAlexander Botero-Lowry <alexbl@FreeBSD.org>2006-09-22 08:22:11 +0000
committerAlexander Botero-Lowry <alexbl@FreeBSD.org>2006-09-22 08:22:11 +0000
commit17b5eddd6572492ae0e016987a1455fcc306ce04 (patch)
treec7825e8ab66557ac80eba0e85260b3896d37d76d /security/gnome-ssh-askpass
parent4d7594d4e46c6dc51a2ea67b954d8e4db627254d (diff)
downloadports-17b5eddd6572492ae0e016987a1455fcc306ce04.tar.gz
ports-17b5eddd6572492ae0e016987a1455fcc306ce04.zip
Notes
Diffstat (limited to 'security/gnome-ssh-askpass')
-rw-r--r--security/gnome-ssh-askpass/Makefile5
-rw-r--r--security/gnome-ssh-askpass/files/patch-contrib_Makefile11
2 files changed, 15 insertions, 1 deletions
diff --git a/security/gnome-ssh-askpass/Makefile b/security/gnome-ssh-askpass/Makefile
index 6b2cc7658b18..f322e65a81aa 100644
--- a/security/gnome-ssh-askpass/Makefile
+++ b/security/gnome-ssh-askpass/Makefile
@@ -23,7 +23,10 @@ PLIST_FILES= bin/gnome-ssh-askpass2
USE_X_PREFIX= yes
USE_GNOME= gtk20
+.include <bsd.port.pre.mk>
+CFLAGS+= ${PTHREAD_LIBS}
+
do-install:
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/gnome-ssh-askpass2 ${PREFIX}/bin
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/security/gnome-ssh-askpass/files/patch-contrib_Makefile b/security/gnome-ssh-askpass/files/patch-contrib_Makefile
new file mode 100644
index 000000000000..a134fa855853
--- /dev/null
+++ b/security/gnome-ssh-askpass/files/patch-contrib_Makefile
@@ -0,0 +1,11 @@
+--- contrib/Makefile.orig Thu Sep 21 21:04:13 2006
++++ contrib/Makefile Thu Sep 21 21:04:29 2006
+@@ -7,7 +7,7 @@
+ `gnome-config --libs gnome gnomeui`
+
+ gnome-ssh-askpass2: gnome-ssh-askpass2.c
+- $(CC) `pkg-config --cflags gtk+-2.0` \
++ $(CC) $(CFLAGS) `pkg-config --cflags gtk+-2.0` \
+ gnome-ssh-askpass2.c -o gnome-ssh-askpass2 \
+ `pkg-config --libs gtk+-2.0`
+