mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
srcpkgs: set build_pie to almost all possible pkgs in base.
This commit is contained in:
parent
40efca7875
commit
b5c3c43509
28 changed files with 65 additions and 36 deletions
|
@ -1,7 +1,8 @@
|
||||||
# Template file for 'acpid'
|
# Template file for 'acpid'
|
||||||
pkgname=acpid
|
pkgname=acpid
|
||||||
version=2.0.23
|
version=2.0.23
|
||||||
revision=11
|
revision=12
|
||||||
|
build_pie=yes
|
||||||
build_options="systemd"
|
build_options="systemd"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
conf_files="/etc/acpi/events/anything /etc/acpi/handler.sh"
|
conf_files="/etc/acpi/events/anything /etc/acpi/handler.sh"
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
# Template build file for 'bash'.
|
# Template build file for 'bash'.
|
||||||
pkgname=bash
|
|
||||||
_bash_distver=4.3
|
_bash_distver=4.3
|
||||||
_bash_patchlevel=033
|
_bash_patchlevel=033
|
||||||
|
|
||||||
|
pkgname=bash
|
||||||
version=${_bash_distver}.${_bash_patchlevel}
|
version=${_bash_distver}.${_bash_patchlevel}
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc=${pkgname}-${_bash_distver}
|
wrksrc=${pkgname}-${_bash_distver}
|
||||||
|
build_pie=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--without-bash-malloc --with-curses --with-installed-readline"
|
configure_args="--without-bash-malloc --with-curses --with-installed-readline"
|
||||||
hostmakedepends="bison"
|
hostmakedepends="bison"
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
# Template file for 'cpio'
|
# Template file for 'cpio'
|
||||||
pkgname=cpio
|
pkgname=cpio
|
||||||
version=2.11
|
version=2.11
|
||||||
revision=6
|
revision=7
|
||||||
|
build_pie=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="gl_cv_func_stat_file_slash=yes gl_cv_func_malloc_posix=yes
|
configure_args="gl_cv_func_stat_file_slash=yes gl_cv_func_malloc_posix=yes
|
||||||
gl_cv_func_unlink_works=yes gl_cv_func_unsetenv_work=yes ac_cv_func_unlinkat=yes
|
gl_cv_func_unlink_works=yes gl_cv_func_unsetenv_work=yes ac_cv_func_unlinkat=yes
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
# Template file for 'dash'
|
# Template file for 'dash'
|
||||||
pkgname=dash
|
pkgname=dash
|
||||||
version=0.5.8
|
version=0.5.8
|
||||||
revision=1
|
revision=2
|
||||||
|
build_pie=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="bison"
|
hostmakedepends="bison"
|
||||||
register_shell="/bin/sh"
|
register_shell="/bin/sh"
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
# Template file for 'dhcpcd'
|
# Template file for 'dhcpcd'
|
||||||
pkgname=dhcpcd
|
pkgname=dhcpcd
|
||||||
version=6.7.1
|
version=6.7.1
|
||||||
revision=3
|
revision=4
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
|
build_pie=yes
|
||||||
build_options="systemd"
|
build_options="systemd"
|
||||||
build_style=configure
|
build_style=configure
|
||||||
configure_args="--prefix=/usr --sysconfdir=/etc --rundir=/run"
|
configure_args="--prefix=/usr --sysconfdir=/etc --rundir=/run"
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
# Template file for 'diffutils'
|
# Template file for 'diffutils'
|
||||||
pkgname=diffutils
|
pkgname=diffutils
|
||||||
version=3.3
|
version=3.3
|
||||||
revision=5
|
revision=6
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
|
build_pie=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
conflicts="chroot-diffutils>=0"
|
conflicts="chroot-diffutils>=0"
|
||||||
short_desc="The GNU diff utilities"
|
short_desc="The GNU diff utilities"
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
# Template file for 'dosfstools'
|
# Template file for 'dosfstools'
|
||||||
pkgname=dosfstools
|
pkgname=dosfstools
|
||||||
version=3.0.27
|
version=3.0.27
|
||||||
revision=1
|
revision=2
|
||||||
|
build_pie=yes
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_install_args="PREFIX=/usr SBINDIR=/usr/sbin"
|
make_install_args="PREFIX=/usr SBINDIR=/usr/sbin"
|
||||||
short_desc="DOS filesystem tools"
|
short_desc="DOS filesystem tools"
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
# Template file for 'ethtool'
|
# Template file for 'ethtool'
|
||||||
pkgname=ethtool
|
pkgname=ethtool
|
||||||
version=3.18
|
version=3.18
|
||||||
revision=1
|
revision=2
|
||||||
|
build_pie=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
short_desc="Utility for controlling network drivers and hardware"
|
short_desc="Utility for controlling network drivers and hardware"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
# Template file for 'f2fs-tools'
|
# Template file for 'f2fs-tools'
|
||||||
pkgname=f2fs-tools
|
pkgname=f2fs-tools
|
||||||
version=1.4.0
|
version=1.4.0
|
||||||
revision=2
|
revision=3
|
||||||
|
build_pie=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--sbindir=/usr/bin --disable-static ac_cv_file__git=yes"
|
configure_args="--sbindir=/usr/bin --disable-static ac_cv_file__git=yes"
|
||||||
make_install_args="sbindir=/usr/bin"
|
make_install_args="sbindir=/usr/bin"
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
# Template file for 'findutils'
|
# Template file for 'findutils'
|
||||||
pkgname=findutils
|
pkgname=findutils
|
||||||
version=4.4.2
|
version=4.4.2
|
||||||
revision=10
|
revision=11
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
|
build_pie=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--localstatedir=/var/lib/locate gl_cv_func_wcwidth_works=yes
|
configure_args="--localstatedir=/var/lib/locate gl_cv_func_wcwidth_works=yes
|
||||||
gl_cv_header_working_fcntl_h=yes am_cv_func_working_getline=yes
|
gl_cv_header_working_fcntl_h=yes am_cv_func_working_getline=yes
|
||||||
|
@ -28,7 +29,6 @@ pre_configure() {
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# Install the cron daily job.
|
# Install the cron daily job.
|
||||||
vinstall ${FILESDIR}/updatedb.cron-daily 744 etc/cron.daily updatedb
|
vinstall ${FILESDIR}/updatedb.cron-daily 744 etc/cron.daily updatedb
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
# Template file for 'gawk'
|
# Template file for 'gawk'
|
||||||
pkgname=gawk
|
pkgname=gawk
|
||||||
version=4.1.1
|
version=4.1.1
|
||||||
revision=3
|
revision=4
|
||||||
|
build_pie=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-readline"
|
configure_args="--with-readline"
|
||||||
makedepends="readline-devel>=6.3"
|
makedepends="readline-devel>=6.3"
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
# Template build file for 'grep'.
|
# Template build file for 'grep'.
|
||||||
pkgname=grep
|
pkgname=grep
|
||||||
version=2.21
|
version=2.21
|
||||||
revision=1
|
revision=2
|
||||||
|
build_pie=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
makedepends="pcre-devel>=8.30"
|
makedepends="pcre-devel>=8.30"
|
||||||
conflicts="chroot-grep>=0"
|
conflicts="chroot-grep>=0"
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
# Template file for 'gzip'
|
# Template file for 'gzip'
|
||||||
pkgname=gzip
|
pkgname=gzip
|
||||||
version=1.6
|
version=1.6
|
||||||
revision=5
|
revision=6
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
|
build_pie=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="gl_cv_func_fprintf_posix=yes gl_cv_func_fflush_stdin=yes"
|
configure_args="gl_cv_func_fprintf_posix=yes gl_cv_func_fflush_stdin=yes"
|
||||||
conflicts="chroot-gzip>=0"
|
conflicts="chroot-gzip>=0"
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
# Template file for 'iproute2'
|
# Template file for 'iproute2'
|
||||||
pkgname=iproute2
|
pkgname=iproute2
|
||||||
version=3.19.0
|
version=3.19.0
|
||||||
revision=1
|
revision=2
|
||||||
|
build_pie=yes
|
||||||
hostmakedepends="pkg-config perl flex"
|
hostmakedepends="pkg-config perl flex"
|
||||||
makedepends="libfl-devel db-devel>=5.3 iptables-devel>=1.4.21"
|
makedepends="libfl-devel db-devel>=5.3 iptables-devel>=1.4.21"
|
||||||
conf_files="
|
conf_files="
|
||||||
|
|
|
@ -1,7 +1,12 @@
|
||||||
# Template file for 'iw'
|
# Template file for 'iw'
|
||||||
|
#
|
||||||
|
# Does not seem to respect our $CPPFLAGS in environment, force it via CFLAGS.
|
||||||
|
CFLAGS="$XBPS_CPPFLAGS"
|
||||||
|
|
||||||
pkgname=iw
|
pkgname=iw
|
||||||
version=3.17
|
version=3.17
|
||||||
revision=1
|
revision=2
|
||||||
|
build_pie=yes
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
hostmakedepends="pkg-config libnl3-devel"
|
hostmakedepends="pkg-config libnl3-devel"
|
||||||
makedepends="libnl3-devel"
|
makedepends="libnl3-devel"
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
# Template file for 'kbd'
|
# Template file for 'kbd'
|
||||||
pkgname=kbd
|
pkgname=kbd
|
||||||
version=2.0.2
|
version=2.0.2
|
||||||
revision=2
|
revision=3
|
||||||
|
build_pie=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--datadir=/usr/share/kbd --localedir=/usr/share/kbd/locale"
|
configure_args="--datadir=/usr/share/kbd --localedir=/usr/share/kbd/locale"
|
||||||
hostmakedepends="automake libtool gettext-devel flex pkg-config"
|
hostmakedepends="automake libtool gettext-devel flex pkg-config"
|
||||||
|
@ -44,7 +45,6 @@ pre_configure() {
|
||||||
$XBPS_FETCH_CMD http://git.alpinelinux.org/cgit/aports/plain/main/kbd/error.h
|
$XBPS_FETCH_CMD http://git.alpinelinux.org/cgit/aports/plain/main/kbd/error.h
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# Remove keymaps for sun, amiga and atari.
|
# Remove keymaps for sun, amiga and atari.
|
||||||
for f in sun amiga atari; do
|
for f in sun amiga atari; do
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
# Template file for 'less'
|
# Template file for 'less'
|
||||||
pkgname=less
|
pkgname=less
|
||||||
version=471
|
version=471
|
||||||
revision=1
|
revision=2
|
||||||
|
build_pie=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-regex=pcre"
|
configure_args="--with-regex=pcre"
|
||||||
makedepends="ncurses-devel pcre-devel>=8.30"
|
makedepends="ncurses-devel pcre-devel>=8.30"
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
# Template file for 'mdocml'
|
# Template file for 'mdocml'
|
||||||
pkgname=mdocml
|
pkgname=mdocml
|
||||||
version=1.13.2
|
version=1.13.2
|
||||||
revision=6
|
revision=7
|
||||||
|
build_pie=yes
|
||||||
build_style=configure
|
build_style=configure
|
||||||
makedepends="sqlite-devel"
|
makedepends="sqlite-devel"
|
||||||
replaces="groff>=0 man-db>=0"
|
replaces="groff>=0 man-db>=0"
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
# Template file for 'nvi'
|
# Template file for 'nvi'
|
||||||
pkgname=nvi
|
pkgname=nvi
|
||||||
version=1.81.6
|
version=1.81.6
|
||||||
revision=7
|
revision=8
|
||||||
patch_args="-Np1"
|
patch_args="-Np1"
|
||||||
|
build_pie=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
build_wrksrc=dist
|
build_wrksrc=dist
|
||||||
makedepends="ncurses-devel db-devel>=5.3"
|
makedepends="ncurses-devel db-devel>=5.3"
|
||||||
|
@ -22,7 +23,6 @@ do_configure() {
|
||||||
pre_build() {
|
pre_build() {
|
||||||
sed -i -e '/define.*_PATH_MSGCAT/ s/".*"/"\/usr\/share\/vi\/catalog\/"/' pathnames.h
|
sed -i -e '/define.*_PATH_MSGCAT/ s/".*"/"\/usr\/share\/vi\/catalog\/"/' pathnames.h
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# remove cat pages.
|
# remove cat pages.
|
||||||
rm -rf ${DESTDIR}/usr/share/man/cat1
|
rm -rf ${DESTDIR}/usr/share/man/cat1
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
pkgname=openbsd-man
|
pkgname=openbsd-man
|
||||||
version=20141228
|
version=20141228
|
||||||
revision=1
|
revision=1
|
||||||
|
build_pie=yes
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
hostmakedepends="git"
|
hostmakedepends="git"
|
||||||
replaces="mdocml>=1.13.2_1<1.13.2_5"
|
replaces="mdocml>=1.13.2_1<1.13.2_5"
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
# Template file for 'procps-ng'
|
# Template file for 'procps-ng'
|
||||||
pkgname=procps-ng
|
pkgname=procps-ng
|
||||||
version=3.3.10
|
version=3.3.10
|
||||||
revision=2
|
revision=3
|
||||||
|
build_pie=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--exec-prefix=/ --bindir=/usr/bin --sbindir=/usr/sbin
|
configure_args="--exec-prefix=/ --bindir=/usr/bin --sbindir=/usr/sbin
|
||||||
--libdir=/usr/lib --disable-static --disable-kill $(vopt_with systemd)"
|
--libdir=/usr/lib --disable-static --disable-kill $(vopt_with systemd)"
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
# Template file for 'psmisc'
|
# Template file for 'psmisc'
|
||||||
pkgname=psmisc
|
pkgname=psmisc
|
||||||
version=22.21
|
version=22.21
|
||||||
revision=2
|
revision=3
|
||||||
|
build_pie=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
makedepends="ncurses-devel"
|
makedepends="ncurses-devel"
|
||||||
short_desc="Small set of utilities that use the linux proc filesystem"
|
short_desc="Small set of utilities that use the linux proc filesystem"
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
# Template file for 'sed'
|
# Template file for 'sed'
|
||||||
pkgname=sed
|
pkgname=sed
|
||||||
version=4.2.2
|
version=4.2.2
|
||||||
revision=7
|
revision=8
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
|
build_pie=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-acl gl_cv_func_working_acl_get_file=yes"
|
configure_args="--enable-acl gl_cv_func_working_acl_get_file=yes"
|
||||||
makedepends="acl-devel"
|
makedepends="acl-devel"
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
# Template file for 'shadow'
|
# Template file for 'shadow'
|
||||||
pkgname=shadow
|
pkgname=shadow
|
||||||
version=4.2.1
|
version=4.2.1
|
||||||
revision=6
|
revision=7
|
||||||
|
build_pie=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--bindir=/usr/bin --sbindir=/usr/sbin
|
configure_args="--bindir=/usr/bin --sbindir=/usr/sbin
|
||||||
--libdir=/usr/lib --enable-shared --disable-static
|
--libdir=/usr/lib --enable-shared --disable-static
|
||||||
|
@ -46,8 +47,7 @@ do_build() {
|
||||||
for f in $(find man -name Makefile); do
|
for f in $(find man -name Makefile); do
|
||||||
sed -i 's/groups\.1 / /' $f
|
sed -i 's/groups\.1 / /' $f
|
||||||
done
|
done
|
||||||
# Build PIE binaries by default.
|
make ${makejobs}
|
||||||
make CFLAGS+=" -fPIE" LDFLAGS+=" -pie" ${makejobs}
|
|
||||||
}
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
# Install our pam files not the ones supplied with shadow.
|
# Install our pam files not the ones supplied with shadow.
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
# Template build file for 'tar'.
|
# Template build file for 'tar'.
|
||||||
pkgname=tar
|
pkgname=tar
|
||||||
version=1.28
|
version=1.28
|
||||||
revision=3
|
revision=4
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
|
build_pie=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="gl_cv_struct_dirent_d_ino=yes"
|
configure_args="gl_cv_struct_dirent_d_ino=yes"
|
||||||
conflicts="chroot-tar>=0"
|
conflicts="chroot-tar>=0"
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
# Template file for 'traceroute'
|
# Template file for 'traceroute'
|
||||||
pkgname=traceroute
|
pkgname=traceroute
|
||||||
version=2.0.21
|
version=2.0.21
|
||||||
revision=2
|
revision=3
|
||||||
|
build_pie=yes
|
||||||
short_desc="Traces the route taken by packets over an IPv4/IPv6 network"
|
short_desc="Traces the route taken by packets over an IPv4/IPv6 network"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
|
@ -11,9 +12,9 @@ checksum=f7ac93ef30b13a587292b8d6a7e2538a65bc978a3a576eab238c392b884e96e0
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
make LDFLAGS="-L${wrksrc}/libsupp $LDFLAGS" CFLAGS="$CFLAGS" CROSS=${XBPS_CROSS_TRIPLET}- ${makejobs}
|
make LDFLAGS="-L${wrksrc}/libsupp $LDFLAGS" CFLAGS="$CFLAGS $CPPFLAGS" CROSS=${XBPS_CROSS_TRIPLET}- ${makejobs}
|
||||||
else
|
else
|
||||||
make CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" ${makejobs}
|
make CFLAGS="$CFLAGS $CPPFLAGS" LDFLAGS="$LDFLAGS" ${makejobs}
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
# Template file for 'which'
|
# Template file for 'which'
|
||||||
pkgname=which
|
pkgname=which
|
||||||
version=2.20
|
version=2.20
|
||||||
revision=3
|
revision=4
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
|
build_pie=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
short_desc="Displays where a particular program in your path is located"
|
short_desc="Displays where a particular program in your path is located"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'wpa_supplicant'
|
# Template file for 'wpa_supplicant'
|
||||||
pkgname=wpa_supplicant
|
pkgname=wpa_supplicant
|
||||||
version=2.3
|
version=2.3
|
||||||
revision=7
|
revision=8
|
||||||
build_wrksrc=$pkgname
|
build_wrksrc=$pkgname
|
||||||
short_desc="WPA/WPA2/IEEE 802.1X Supplicant"
|
short_desc="WPA/WPA2/IEEE 802.1X Supplicant"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
@ -10,6 +10,7 @@ homepage="http://w1.fi/wpa_supplicant/"
|
||||||
distfiles="http://w1.fi/releases/$pkgname-$version.tar.gz"
|
distfiles="http://w1.fi/releases/$pkgname-$version.tar.gz"
|
||||||
checksum=eaaa5bf3055270e521b2dff64f2d203ec8040f71958b8588269a82c00c9d7b6a
|
checksum=eaaa5bf3055270e521b2dff64f2d203ec8040f71958b8588269a82c00c9d7b6a
|
||||||
|
|
||||||
|
build_pie=yes
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="libnl3-devel libressl-devel>=2.1.4 dbus-devel readline-devel>=6.3"
|
makedepends="libnl3-devel libressl-devel>=2.1.4 dbus-devel readline-devel>=6.3"
|
||||||
conf_files="/etc/${pkgname}/${pkgname}.conf"
|
conf_files="/etc/${pkgname}/${pkgname}.conf"
|
||||||
|
@ -21,7 +22,7 @@ pre_build() {
|
||||||
sed -i 's, -u, -uq,' dbus/*.service.in
|
sed -i 's, -u, -uq,' dbus/*.service.in
|
||||||
}
|
}
|
||||||
do_build() {
|
do_build() {
|
||||||
export CFLAGS+=" $(pkg-config --cflags libnl-3.0)"
|
export CFLAGS+=" $(pkg-config --cflags libnl-3.0) $CPPFLAGS"
|
||||||
make ${make_build_args} V=1 PREFIX=/usr BINDIR=/usr/bin
|
make ${make_build_args} V=1 PREFIX=/usr BINDIR=/usr/bin
|
||||||
}
|
}
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue