aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-auth/pam_mobile_otp/files/pam_mobile_otp-0.6.1-Makefile.patch')
-rw-r--r--sys-auth/pam_mobile_otp/files/pam_mobile_otp-0.6.1-Makefile.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/sys-auth/pam_mobile_otp/files/pam_mobile_otp-0.6.1-Makefile.patch b/sys-auth/pam_mobile_otp/files/pam_mobile_otp-0.6.1-Makefile.patch
new file mode 100644
index 00000000..ab24da8c
--- /dev/null
+++ b/sys-auth/pam_mobile_otp/files/pam_mobile_otp-0.6.1-Makefile.patch
@@ -0,0 +1,28 @@
+--- Makefile.dist 2011-08-16 15:02:44.128755738 +0100
++++ Makefile 2011-08-16 15:06:03.346319737 +0100
+@@ -1,18 +1,21 @@
+
++OPT = -D_TRACE_ -Wall
++
+ all: pam_mobile_otp.so
+
+ debug:
+- OPTS="-D_TRACE_ -Wall" make all
++ OPT = -D_TRACE_ -Wall
++ pam_mobile_otp.so
+
+ pam_mobile_otp.o : pam_mobile_otp.c
+- gcc -fPIC -c pam_mobile_otp.c
++ $(CC) $(CFLAGS) $(OPT) -fPIC -c pam_mobile_otp.c
+
+ pam_mobile_otp.so : pam_mobile_otp.o md5.o
+- ld -x --shared -o pam_mobile_otp.so pam_mobile_otp.o \
++ $(LD) $(LDFLAGS) -x --shared -o pam_mobile_otp.so pam_mobile_otp.o \
+ md5.o -lpam
+
+ md5.o : md5.c
+- gcc -fPIC -c md5.c -DSTDC_HEADERS
++ $(CC) $(CFLAGS) $(OPT) -fPIC -c md5.c -DSTDC_HEADERS
+
+ install : pam_mobile_otp.so
+ cp pam_mobile_otp.so /lib/security/pam_mobile_otp.so