aboutsummaryrefslogtreecommitdiff
path: root/security/libgnomesu
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2005-01-14 05:01:25 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2005-01-14 05:01:25 +0000
commit12f26b1c73ee586916029da16060a74abab9bc09 (patch)
tree68c713e5edbed268677c843f89397da01781cc13 /security/libgnomesu
parent5b72979390b5e8aa3b1eebcef76b74f29b0c6dad (diff)
downloadports-12f26b1c73ee586916029da16060a74abab9bc09.tar.gz
ports-12f26b1c73ee586916029da16060a74abab9bc09.zip
Notes
Diffstat (limited to 'security/libgnomesu')
-rw-r--r--security/libgnomesu/Makefile2
-rw-r--r--security/libgnomesu/files/patch-pam-backend_pam.c11
2 files changed, 13 insertions, 0 deletions
diff --git a/security/libgnomesu/Makefile b/security/libgnomesu/Makefile
index e0b020e7426c..ed672ccd0dab 100644
--- a/security/libgnomesu/Makefile
+++ b/security/libgnomesu/Makefile
@@ -18,6 +18,8 @@ USE_GETOPT_LONG=yes
USE_LIBTOOL_VER=15
USE_GMAKE= yes
USE_GNOME= gnomehack gnomeprefix libgnomeui
+CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
CONFLICTS= gnomesu-*
diff --git a/security/libgnomesu/files/patch-pam-backend_pam.c b/security/libgnomesu/files/patch-pam-backend_pam.c
new file mode 100644
index 000000000000..e43d290cc2df
--- /dev/null
+++ b/security/libgnomesu/files/patch-pam-backend_pam.c
@@ -0,0 +1,11 @@
+--- pam-backend/pam.c.orig Thu Jan 13 23:43:53 2005
++++ pam-backend/pam.c Thu Jan 13 23:43:59 2005
+@@ -17,7 +17,7 @@
+ */
+
+ #include <security/pam_appl.h>
+-#include <security/pam_misc.h>
++#include <security/pam_mod_misc.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <sys/types.h>