diff options
author | pgollucci <pgollucci@FreeBSD.org> | 2012-02-13 04:35:44 +0800 |
---|---|---|
committer | pgollucci <pgollucci@FreeBSD.org> | 2012-02-13 04:35:44 +0800 |
commit | 509bc05ed9a9a04d46feeb66dbd3d566557527f8 (patch) | |
tree | ee48a19293fe8a5545281651eb479a8082ea223f /security | |
parent | 3f8aec6b6d80f567eee3a36a538cca003564a42d (diff) | |
download | freebsd-ports-gnome-509bc05ed9a9a04d46feeb66dbd3d566557527f8.tar.gz freebsd-ports-gnome-509bc05ed9a9a04d46feeb66dbd3d566557527f8.tar.zst freebsd-ports-gnome-509bc05ed9a9a04d46feeb66dbd3d566557527f8.zip |
- Patch the port to not remove /dev/null
Reported by: many
Pointy Hat To: myself
Diffstat (limited to 'security')
-rw-r--r-- | security/pam_google_authenticator/Makefile | 3 | ||||
-rw-r--r-- | security/pam_google_authenticator/files/patch-Makefile | 12 |
2 files changed, 13 insertions, 2 deletions
diff --git a/security/pam_google_authenticator/Makefile b/security/pam_google_authenticator/Makefile index 3e0f172b4d32..d127b234791e 100644 --- a/security/pam_google_authenticator/Makefile +++ b/security/pam_google_authenticator/Makefile @@ -7,6 +7,7 @@ PORTNAME= pam_google_authenticator PORTVERSION= 20120119 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= LOCAL/dumbbell DISTNAME= google-authenticator-${PORTVERSION} @@ -16,8 +17,6 @@ COMMENT= PAM module for two-step authentication from Google LICENSE= AL2 -BROKEN= deletes /dev/null - USE_GMAKE= yes PLIST_FILES= bin/google-authenticator lib/pam_google_authenticator.so diff --git a/security/pam_google_authenticator/files/patch-Makefile b/security/pam_google_authenticator/files/patch-Makefile new file mode 100644 index 000000000000..3f43a6a6973b --- /dev/null +++ b/security/pam_google_authenticator/files/patch-Makefile @@ -0,0 +1,12 @@ +--- ./Makefile.orig 2012-02-12 20:34:01.605839492 +0000 ++++ ./Makefile 2012-02-12 20:34:11.541834894 +0000 +@@ -24,8 +24,7 @@ + echo ' -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT') \ + -fvisibility=hidden $(CFLAGS) + DEF_LDFLAGS := $(shell [ `uname` = SunOS ] && echo ' -mimpure-text') $(LDFLAGS) +-LDL_LDFLAGS := $(shell $(CC) -shared -ldl -xc -o /dev/null /dev/null \ +- >/dev/null 2>&1 && echo ' -ldl') ++LDL_LDFLAGS := $(shell $(CC) -shared -ldl -xc >/dev/null 2>&1 && echo ' -ldl') + + all: google-authenticator pam_google_authenticator.so demo \ + pam_google_authenticator_unittest |