Ignore:
Timestamp:
Jan 8, 2014, 10:45:42 PM (6 years ago)
Author:
afb@…
Message:

rpm: allow building with popt without la (#41697)

Location:
trunk/dports/sysutils/rpm
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/rpm/Portfile

    r114332 r115687  
    55name                    rpm
    66version                 4.4.9
    7 revision                15
     7revision                16
    88platforms               darwin freebsd linux
    99license                 GPL-2 LGPL-2
     
    5656                        patch-db3-configure \
    5757                        patch-zlib-configure \
     58                        patch-Makefile.in \
    5859                        patch-Makefile.PL \
    5960                        patch-darwin.prov \
  • trunk/dports/sysutils/rpm/files/patch-configure

    r91204 r115687  
    1010 export CFLAGS LDFLAGS
    1111 
    12 @@ -27309,8 +27309,8 @@
    13  if test $ac_cv_lib_popt_poptGetContext = yes; then
    14  
    15        WITH_POPT_SUBDIR=
    16 -      WITH_POPT_INCLUDE=
    17 -      WITH_POPT_LIB="-lpopt"
    18 +      WITH_POPT_INCLUDE='-I${prefix}/include'
    19 +      WITH_POPT_LIB='${prefix}/lib/libpopt.la'
    20  
    21  fi
    22  
    23 @@ -27545,8 +27545,8 @@
    24  _ACEOF
     12@@ -27546,7 +27546,7 @@
    2513 
    2614     WITH_SQLITE3_SUBDIR=
    27 -    WITH_SQLITE3_INCLUDE=
     15     WITH_SQLITE3_INCLUDE=
    2816-    WITH_SQLITE3_LIB="-lsqlite"
    29 +    WITH_SQLITE3_INCLUDE='-I${prefix}/include'
    30 +    WITH_SQLITE3_LIB='${prefix}/lib/libsqlite3.la'
     17+    WITH_SQLITE3_LIB="-lsqlite3"
    3118     DBLIBSRCS="$DBLIBSRCS sqlite.c"
    3219 
Note: See TracChangeset for help on using the changeset viewer.