source: trunk/dports/sysutils/poldek/files/patch-utillibs.diff @ 28386

Last change on this file since 28386 was 28386, checked in by afb@…, 13 years ago

new port: yet another rpm frontend

File size: 1.8 KB
  • ./configure.in

    old new dnl - util.h (NetBSD) 
    360360AC_CHECK_FUNC(openpty, have_openpty=yes, [
    361361  AC_CHECK_LIB(util, openpty, have_openpty=yes need_libutil=yes)])
    362362
     363UTILLIBS=
    363364if test "${have_openpty}." = "yes."; then
    364365  AC_DEFINE([HAVE_OPENPTY],1,[defined if openpty() is avialable])
    365366  AC_CHECK_HEADERS([pty.h libutil.h util.h], break)
    366   test "$need_libutil" = "yes" && LIBS="-lutil $LIBS"
     367  if test "$need_libutil" = "yes" ; then
     368    UTILLIBS="-lutil"
     369    LIBS="$UTILLIBS $LIBS"
     370  fi
    367371fi
     372AC_SUBST(UTILLIBS)
    368373
    369374AC_CHECK_FUNCS(EVP_DigestInit,,
    370375        [AC_CHECK_LIB(crypto, EVP_DigestInit,,
  • ./vfile/Makefile.am

    old new pkgincludedir = $(includedir)/vfile 
    2323pkginclude_HEADERS = vfile.h p_open.h vopen3.h
    2424
    2525noinst_PROGRAMS = vfget test_vopen3
    26 TEST_LDADDS    = libvfile.la -lutil
     26TEST_LDADDS    = libvfile.la @UTILLIBS@
    2727
    2828vfget_SOURCES  = vfget.c
    2929vfget_LDADD    = $(TEST_LDADDS)
  • ./vfile/Makefile.in

    old new TRURL_DIR = @TRURL_DIR@ 
    190190TRURL_INCLUDE = @TRURL_INCLUDE@
    191191TRURL_LDFLAG = @TRURL_LDFLAG@
    192192USE_NLS = @USE_NLS@
     193UTILLIBS = @UTILLIBS@
    193194VERSION = @VERSION@
    194195VERSION_CVSTAG = @VERSION_CVSTAG@
    195196WITH_METADATA_REPOSITORY_FALSE = @WITH_METADATA_REPOSITORY_FALSE@
    libvfile_la_SOURCES = vfile.c fetch.c vf 
    260261
    261262libvfile_la_LIBADD = vfff/libvfff.la
    262263pkginclude_HEADERS = vfile.h p_open.h vopen3.h
    263 TEST_LDADDS = libvfile.la -lutil
     264TEST_LDADDS = libvfile.la @UTILLIBS@
    264265vfget_SOURCES = vfget.c
    265266vfget_LDADD = $(TEST_LDADDS)
    266267test_vopen3_SOURCES = test_vopen3.c
Note: See TracBrowser for help on using the repository browser.