diff options
author | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2012-02-12 20:35:44 +0000 |
---|---|---|
committer | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2012-02-12 20:35:44 +0000 |
commit | 1b367ff90378425debce5f3af9d1eaec2f7e4dae (patch) | |
tree | 23879f92911a7c5cd65575a45af9de9c36455d51 /security/pam_google_authenticator | |
parent | 06592c2d7dc5eb27ce6c48243d63d4eba28e1bec (diff) | |
download | ports-1b367ff90378425debce5f3af9d1eaec2f7e4dae.tar.gz ports-1b367ff90378425debce5f3af9d1eaec2f7e4dae.zip |
Notes
Diffstat (limited to 'security/pam_google_authenticator')
-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 |