Browse Source

Fixed braindead FreeBSD building and upgraded shellutils 2.0.14 -> 2.0.15

master
Michael Schloh von Bennewitz 24 years ago committed by Ralf S. Engelschall
parent
commit
314dd41eff
  1. 9
      whois/whois.spec

9
whois/whois.spec

@ -32,8 +32,8 @@ Packager: The OpenPKG Project
Distribution: OpenPKG [REL]
Group: DNS
License: GPL
Version: 4.5.28
Release: 20020602
Version: 4.5.29
Release: 20020809
# list of sources
Source0: http://www.linux.it/~md/software/whois_%{version}.tar.gz
@ -54,10 +54,15 @@ AutoReqProv: no
%build
%{l_shtool} subst -e "s;perl;%{l_prefix}/bin/perl;" Makefile
ldflags=""
case "%{l_target}" in
*-solaris* ) ldflags="-lnsl -lsocket" ;;
*-freebsd* ) %{l_shtool} subst -e "s;# define HAVE_GETOPT_LONG;/* # define HAVE_GETOPT_LONG */;" \
-e "s;# define ENABLE_NLS;/* # define ENABLE_NLS */;" \
-e "s;# define LOCALEDIR "/usr/local/share/locale";/* # define LOCALEDIR "/usr/local/share/locale"*/;" config.h
esac
%{l_make} %{l_mflags} \
CC="%{l_cc}" \
CFLAGS="%{l_cflags -O}" \

Loading…
Cancel
Save