diff options
Diffstat (limited to 'textproc/pcrs/files')
-rw-r--r-- | textproc/pcrs/files/patch-Makefile.in | 56 | ||||
-rw-r--r-- | textproc/pcrs/files/patch-configure | 49 |
2 files changed, 0 insertions, 105 deletions
diff --git a/textproc/pcrs/files/patch-Makefile.in b/textproc/pcrs/files/patch-Makefile.in deleted file mode 100644 index 7fe08000c319..000000000000 --- a/textproc/pcrs/files/patch-Makefile.in +++ /dev/null @@ -1,56 +0,0 @@ ---- Makefile.in.orig 2002-03-11 05:56:16.000000000 +0800 -+++ Makefile.in 2014-06-30 23:39:01.951429627 +0800 -@@ -19,6 +19,7 @@ exec_prefix = @exec_prefix@ - - BINDIR = @bindir@ - LIBDIR = @libdir@ -+INCLUDEDIR = @includedir@ - MANDIR = @mandir@/man3 - - -@@ -47,6 +48,7 @@ LIBS = @LIBS@ - ############################################################################# - - CFLAGS = @CFLAGS@ -Wall -Wstrict-prototypes -Wshadow -Wconversion -pedantic \ -+ -I$(INCLUDEDIR) -L$(LIBDIR) \ - @PARANOID_FU@ -Wunreachable-code -Wmissing-prototypes \ - -Waggregate-return -W -Wfloat-equal -Wsign-compare \ - -Wwrite-strings -@@ -66,29 +68,25 @@ pcrsed@EXEEXT@: pcrs.@OBJEXT@ - $(CC) $(CFLAGS) pcrsed.c pcrs.@OBJEXT@ -o pcrsed@EXEEXT@ $(LIBS) - - shared: pcrs.@OBJEXT@ -- $(CC) $(CLFLAGS) $(LDFLAGS) $(LIBFLAGS) -Wl,-soname,libpcrs.so.$(VERSION_MAJOR) -o libpcrs.so.$(VERSION) pcrs.@OBJEXT@ $(LIBS) -+ $(CC) $(CFLAGS) $(LDFLAGS) $(LIBFLAGS) -Wl,-soname,libpcrs.so.$(VERSION_MAJOR) -o libpcrs.so.$(VERSION_MAJOR) pcrs.@OBJEXT@ $(LIBS) - --static: -+static: pcrs.@OBJEXT@ - $(AR) libpcrs.a pcrs.@OBJEXT@ - - install: all -- $(INSTALL) -m 755 libpcrs.so.$(VERSION) $(LIBDIR) -- $(LN_S) -f libpcrs.so.$(VERSION) $(LIBDIR)/libpcrs.so -- $(INSTALL) -m 644 libpcrs.a $(LIBDIR) -- $(INSTALL) -m 644 pcrs.3 $(MANDIR) -- -- if test "$(HAVE_GZIP)" = "yes"; then \ -- gzip -f $(MANDIR)/pcrs.3; \ -- fi -+ $(INSTALL) -m 755 libpcrs.so.$(VERSION_MAJOR) $(DESTDIR)$(prefix)/lib -+ $(LN_S) -f libpcrs.so.$(VERSION_MAJOR) $(DESTDIR)$(prefix)/lib/libpcrs.so -+ $(INSTALL) -m 644 libpcrs.a $(DESTDIR)$(prefix)/lib -+ $(INSTALL) -m 644 pcrs.3 $(DESTDIR)$(MANDIR) - - @echo -e " ***************************************************\n" \ -- "** Libraries have been installed in $(LIBDIR). \n" \ -+ "** Libraries have been installed in $(prefix)/lib. \n" \ - "** Don't forget to run ldconfig. \n" \ - "***************************************************" - - @if test -f pcrsed@EXEEXT@; then\ - echo -e "\nRebuilding pcrsed to use the installed shared library"; \ -- $(CC) $(CFLAGS) -L$(LIBDIR) pcrsed.c -o pcrsed@EXEEXT@ $(LIBS) -lpcrs; \ -+ $(CC) $(CFLAGS) -L$(DESTDIR)$(prefix)/lib pcrsed.c -o pcrsed@EXEEXT@ $(LIBS) -lpcrs; \ - fi - - clean: diff --git a/textproc/pcrs/files/patch-configure b/textproc/pcrs/files/patch-configure deleted file mode 100644 index aa833da51366..000000000000 --- a/textproc/pcrs/files/patch-configure +++ /dev/null @@ -1,49 +0,0 @@ ---- configure.orig Tue Dec 2 10:45:42 2003 -+++ configure Sat Nov 26 02:57:22 2005 -@@ -19,12 +19,12 @@ - # dashes changed to underlines. - build=NONE - cache_file=./config.cache --exec_prefix=NONE -+exec_prefix=/usr/local - host=NONE - no_create= - nonopt=NONE - no_recursion= --prefix=NONE -+prefix=/usr/local - program_prefix=NONE - program_suffix=NONE - program_transform_name=s,x,x, -@@ -42,8 +42,8 @@ - sysconfdir='${prefix}/etc' - sharedstatedir='${prefix}/com' - localstatedir='${prefix}/var' --libdir='${exec_prefix}/lib' --includedir='${prefix}/include' -+libdir="${exec_prefix}/lib" -+includedir="${prefix}/include" - oldincludedir='/usr/include' - infodir='${prefix}/info' - mandir='${prefix}/man' -@@ -685,9 +685,9 @@ - rm -fr conftest* - ac_ext=c - # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. --ac_cpp='$CPP $CPPFLAGS' -+ac_cpp='$CPP -I${includedir} -L${libdir} $CPPFLAGS' - ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' --ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' -+ac_link='${CC-cc} -I${includedir} -L${libdir} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' - cross_compiling=$ac_cv_prog_cc_cross - - echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 -@@ -1256,7 +1256,7 @@ - EOF - ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" - { (eval echo configure:1259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } --ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$" | grep -v warning:` - if test -z "$ac_err"; then - rm -rf conftest* - eval "ac_cv_header_$ac_safe=yes" |