summaryrefslogtreecommitdiff
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
parentUpdate to 0.06. (diff)
- Add PTHREAD_LIBS to CFLAGS
PR: 103322 Submitted by: Vladimir Grebenschikov <vova@fbsd.ru> Approved by: novel (mentor)
Notes
Notes: svn path=/head/; revision=173582
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`
+