source: trunk/dports/devel/cryptlib/files/patch-makefile.diff @ 153798

Last change on this file since 153798 was 153798, checked in by ryandesign@…, 4 years ago

cryptlib: update to 3.4.3

Resolves #45675

File size: 1.3 KB
  • makefile

    old new  
    9090# Further cc flags are gathered dynamically at runtime via the ccopts.sh
    9191# script.
    9292
    93 CFLAGS          = -c -D__UNIX__ -DNDEBUG -I.
     93CFLAGS          += -c -D__UNIX__ -DNDEBUG -I.
    9494CFLAGS_ANALYSE = -c -D__UNIX__ -I.
    9595CFLAGS_COVERAGE = -c -D__UNIX__ -I. -ggdb3 -fno-omit-frame-pointer -O1 --coverage -fprofile-arcs -ftest-coverage
    9696CFLAGS_DEBUG = -c -D__UNIX__ -I. -ggdb3 -fno-omit-frame-pointer -O0
     
    14861486                                        $(STRIP) $(OBJS) $(EXTRAOBJS)
    14871487
    14881488$(DYLIBNAME):   $(OBJS) $(EXTRAOBJS) $(TESTOBJS)
    1489                                 @$(LD) -dynamiclib -compatibility_version $(MAJ).$(MIN) \
     1489                                $(LD) $(LDFLAGS) -dynamiclib -install_name $(PREFIX)/lib/$(DYLIBNAME) \
     1490                                        -compatibility_version $(MAJ).$(MIN) \
    14901491                                        -current_version $(MAJ).$(MIN).$(PLV) \
    14911492                                        -o $(DYLIBNAME) $(OBJS) $(EXTRAOBJS)
    14921493
     
    28642865        fi
    28652866        @if [ `uname -s` = 'CYGWIN_NT-5.0' ] ; then rm -f *.exe; fi
    28662867        @if [ `uname -s` = 'HP-UX' ] ; then rm -f lib$(PROJ).sl; fi
     2868
     2869
     2870install:
     2871        install -d $(DESTDIR)$(PREFIX)/lib
     2872        install -m 644 $(LIBNAME) $(DESTDIR)$(PREFIX)/lib
     2873        install -m 644 $(DYLIBNAME) $(DESTDIR)$(PREFIX)/lib
     2874        ln -s $(DYLIBNAME) $(DESTDIR)$(PREFIX)/lib/lib$(PROJ).dylib
     2875        install -d $(DESTDIR)$(PREFIX)/include
     2876        install -m 644 cryptlib.h $(DESTDIR)$(PREFIX)/include
Note: See TracBrowser for help on using the repository browser.