summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authoralexbl <alexbl@FreeBSD.org>2006-09-22 08:22:11 +0000
committeralexbl <alexbl@FreeBSD.org>2006-09-22 08:22:11 +0000
commit21d0305a2ff8ebb242b0bb8048df720cfb26a905 (patch)
tree6b9302de74b38ca56b2d3a914af6fd17b4c103dd /security
parent7f580a6995818e73ee88b7b05b82b14cb96b6908 (diff)
downloadFreeBSD-ports-21d0305a2ff8ebb242b0bb8048df720cfb26a905.zip
FreeBSD-ports-21d0305a2ff8ebb242b0bb8048df720cfb26a905.tar.gz
- Add PTHREAD_LIBS to CFLAGS
PR: 103322 Submitted by: Vladimir Grebenschikov <vova@fbsd.ru> Approved by: novel (mentor)
Diffstat (limited to 'security')
-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 6b2cc76..f322e65 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 0000000..a134fa8
--- /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`
+
OpenPOWER on IntegriCloud