aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/rsaref/files/rsaref-2.0-libtool.patch')
-rw-r--r--dev-libs/rsaref/files/rsaref-2.0-libtool.patch44
1 files changed, 0 insertions, 44 deletions
diff --git a/dev-libs/rsaref/files/rsaref-2.0-libtool.patch b/dev-libs/rsaref/files/rsaref-2.0-libtool.patch
deleted file mode 100644
index ab0798241..000000000
--- a/dev-libs/rsaref/files/rsaref-2.0-libtool.patch
+++ /dev/null
@@ -1,44 +0,0 @@
---- a/install/unix/makefile
-+++ b/install/unix/makefile
-@@ -4,8 +4,7 @@
- O = o
-
- # commands
--CC = cc
--LIB = ar
-+CC := ${LIBTOOL} --tag=CC --mode=compile ${CC}
-
- # name of temporary library script
- TEMPFILE = $(TEMP)/temp.mak
-@@ -14,18 +13,18 @@
- STDINCDIR=/usr/include
-
- # The places to look for include files (in order).
--INCL = -I. -I$(RSAREFDIR) -I$(STDINCDIR)
-+INCL = -I. -I$(RSAREFDIR)
-
- # name of main executable to build
- PROG = all
-
- # Normal C flags.
--CFLAGS = $(INCL) -O -c -DPROTOTYPES=1
-+CFLAGS += $(INCL) -c -DPROTOTYPES=1
- MFLAGS = -I. -I$(RSAREFDIR)
-
- # The location of the common source directory.
- RSAREFDIR = ../source/
--RSAREFLIB = rsaref.a
-+RSAREFLIB = librsaref.la
-
- # The location of the demo source directory.
- RDEMODIR = ../rdemo/
-@@ -41,8 +40,7 @@
- $(RSAREFLIB) : desc.$(O) digit.$(O) md2c.$(O) md5c.$(O) nn.$(O) prime.$(O)\
- rsa.$(O) r_encode.$(O) r_dh.$(O) r_enhanc.$(O) r_keygen.$(O) r_random.$(O)\
- r_stdlib.$(O)
-- $(LIB) r $@ $?
-- ranlib $@
-+ ${LIBTOOL} --tag=CC --mode=link cc -o $@ ${?:.o=.lo} -rpath ${LIBDIR} -version-info 3:0 ${LDFLAGS}
-
- rdemo.$(O) : $(RDEMODIR)rdemo.c $(RSAREFDIR)global.h $(RSAREFDIR)rsaref.h
- $(CC) $(CFLAGS) $(RDEMODIR)rdemo.c