Changeset 27611


Ignore:
Timestamp:
2011-07-14T20:38:34+02:00 (5 years ago)
Author:
swalker
Message:

[packages] perl: link with libbsd for (e)glibc, refresh patches, Signed-off-by: Philip Prindeville <philipp@…>

Location:
packages/lang/perl
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • packages/lang/perl/Makefile

    r26277 r27611  
    2323include $(INCLUDE_DIR)/package.mk 
    2424 
     25ifneq ($(CONFIG_USE_EGLIBC)$(CONFIG_USE_GLIBC),) 
     26EXTRA_LIBS:=bsd 
     27EXTRA_LIBDIRS:=$(STAGING_DIR)/lib 
     28endif 
     29 
    2530define Package/perl/Default 
    2631  SUBMENU:=Perl 
     
    2934  TITLE:=The Perl intepreter 
    3035  URL:=http://www.perl.com/ 
     36  DEPENDS:=+(USE_EGLIBC||USE_GLIBC):libbsd 
    3137endef 
    3238 
     
    108114                -e 's!%%LIBDIRS%%!$(STAGING_DIR)/lib $(STAGING_DIR)/usr/lib!g' \ 
    109115                -e 's!%%INCDIRS%%!$(STAGING_DIR)/include $(STAGING_DIR)/usr/include!g' \ 
     116                -e 's!%%EXTRA_PERLLIBS%%!$(EXTRA_LIBS:%=-l%)!g' \ 
     117                -e 's!%%EXTRA_PERLLIBDIRS%%!$(EXTRA_LIBDIRS:%=-L%)!g' \ 
    110118                files/config.sh-$(patsubst i386,i486,$(ARCH)).in \ 
    111119                > $(PKG_BUILD_DIR)/config.sh 
  • packages/lang/perl/files/config.sh-arm.in

    r14034 r27611  
    736736ld='%%LD%%' 
    737737lddlflags='-shared %%LDFLAGS%%' 
    738 ldflags='' 
     738ldflags='%%EXTRA_PERLLIBDIRS%%' 
    739739ldflags_uselargefiles='' 
    740740ldlibpthname='LD_LIBRARY_PATH' 
     
    833833perl_patchlevel='' 
    834834perladmin='root@maia.dev.null' 
    835 perllibs='-lnsl -ldl -lm -lcrypt -lutil -lc' 
     835perllibs='-lnsl -ldl -lm -lcrypt -lutil -lc %%EXTRA_PERLLIBS%%' 
    836836perlpath='/usr/bin/perl' 
    837837pg='pg' 
  • packages/lang/perl/files/config.sh-armeb.in

    r14034 r27611  
    736736ld='%%LD%%' 
    737737lddlflags='-shared %%LDFLAGS%%' 
    738 ldflags='' 
     738ldflags='%%EXTRA_PERLLIBDIRS%%' 
    739739ldflags_uselargefiles='' 
    740740ldlibpthname='LD_LIBRARY_PATH' 
     
    833833perl_patchlevel='' 
    834834perladmin='root@maia.dev.null' 
    835 perllibs='-lnsl -ldl -lm -lcrypt -lutil -lc' 
     835perllibs='-lnsl -ldl -lm -lcrypt -lutil -lc %%EXTRA_PERLLIBS%%' 
    836836perlpath='/usr/bin/perl' 
    837837pg='pg' 
  • packages/lang/perl/files/config.sh-avr32.in

    r14034 r27611  
    738738ld='%%LD%%' 
    739739lddlflags='-shared %%LDFLAGS%%' 
    740 ldflags='' 
     740ldflags='%%EXTRA_PERLLIBDIRS%%' 
    741741ldflags_uselargefiles='' 
    742742ldlibpthname='LD_LIBRARY_PATH' 
     
    835835perl_patchlevel='' 
    836836perladmin='root@maia.dev.null' 
    837 perllibs='-lnsl -ldl -lm -lcrypt -lutil -lc' 
     837perllibs='-lnsl -ldl -lm -lcrypt -lutil -lc %%EXTRA_PERLLIBS%%' 
    838838perlpath='/usr/bin/perl' 
    839839pg='pg' 
  • packages/lang/perl/files/config.sh-i486.in

    r14034 r27611  
    736736ld='%%LD%%' 
    737737lddlflags='-shared %%LDFLAGS%%' 
    738 ldflags='' 
     738ldflags='%%EXTRA_PERLLIBDIRS%%' 
    739739ldflags_uselargefiles='' 
    740740ldlibpthname='LD_LIBRARY_PATH' 
     
    833833perl_patchlevel='' 
    834834perladmin='root@maia.dev.null' 
    835 perllibs='-lnsl -ldl -lm -lcrypt -lutil -lc' 
     835perllibs='-lnsl -ldl -lm -lcrypt -lutil -lc %%EXTRA_PERLLIBS%%' 
    836836perlpath='/usr/bin/perl' 
    837837pg='pg' 
  • packages/lang/perl/files/config.sh-mips.in

    r23472 r27611  
    736736ld='%%LD%%' 
    737737lddlflags='-shared %%LDFLAGS%%' 
    738 ldflags='' 
     738ldflags='%%EXTRA_PERLLIBDIRS%%' 
    739739ldflags_uselargefiles='' 
    740740ldlibpthname='LD_LIBRARY_PATH' 
     
    833833perl_patchlevel='' 
    834834perladmin='root@merope.dev.null' 
    835 perllibs='-lnsl -ldl -lm -lcrypt -lutil -lc' 
     835perllibs='-lnsl -ldl -lm -lcrypt -lutil -lc %%EXTRA_PERLLIBS%%' 
    836836perlpath='/usr/bin/perl' 
    837837pg='pg' 
  • packages/lang/perl/files/config.sh-mipsel.in

    r16539 r27611  
    736736ld='%%LD%%' 
    737737lddlflags='-shared %%LDFLAGS%%' 
    738 ldflags='' 
     738ldflags='%%EXTRA_PERLLIBDIRS%%' 
    739739ldflags_uselargefiles='' 
    740740ldlibpthname='LD_LIBRARY_PATH' 
     
    833833perl_patchlevel='' 
    834834perladmin='root@merope.dev.null' 
    835 perllibs='-lnsl -ldl -lm -lcrypt -lutil -lc' 
     835perllibs='-lnsl -ldl -lm -lcrypt -lutil -lc %%EXTRA_PERLLIBS%%' 
    836836perlpath='/usr/bin/perl' 
    837837pg='pg' 
  • packages/lang/perl/files/config.sh-powerpc.in

    r14034 r27611  
    736736ld='%%LD%%' 
    737737lddlflags='-shared %%LDFLAGS%%' 
    738 ldflags='' 
     738ldflags='%%EXTRA_PERLLIBDIRS%%' 
    739739ldflags_uselargefiles='' 
    740740ldlibpthname='LD_LIBRARY_PATH' 
     
    833833perl_patchlevel='' 
    834834perladmin='root@maia.dev.null' 
    835 perllibs='-lnsl -ldl -lm -lcrypt -lutil -lc' 
     835perllibs='-lnsl -ldl -lm -lcrypt -lutil -lc %%EXTRA_PERLLIBS%%' 
    836836perlpath='/usr/bin/perl' 
    837837pg='pg' 
  • packages/lang/perl/patches/100-static_uudmap.patch

    r21464 r27611  
    3636-uudmap.h: generate_uudmap\$(EXE_EXT) 
    3737-       \$(RUN) ./generate_uudmap\$(EXE_EXT) >uudmap.h 
    38 - 
    39 -generate_uudmap\$(EXE_EXT): generate_uudmap\$(OBJ_EXT) 
    40 -       \$(CC) -o generate_uudmap \$(LDFLAGS) generate_uudmap\$(OBJ_EXT) \$(libs) 
    4138+uudmap.h: generate_uudmap 
    4239+       chmod a+x generate_uudmap 
    4340+       \$(RUN) ./generate_uudmap >uudmap.h 
    44 + 
     41  
     42-generate_uudmap\$(EXE_EXT): generate_uudmap\$(OBJ_EXT) 
     43-       \$(CC) -o generate_uudmap \$(LDFLAGS) generate_uudmap\$(OBJ_EXT) \$(libs) 
    4544+generate_uudmap: 
    4645+       cp ../generate_uudmap . 
Note: See TracChangeset for help on using the changeset viewer.