nix: install into vendor_perl, no arch name.
This commit is contained in:
parent
4c297fd3d1
commit
56941b2e99
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'nix'
|
||||
pkgname=nix
|
||||
version=1.11.4
|
||||
revision=6
|
||||
revision=7
|
||||
build_style=gnu-configure
|
||||
# Use /nix/var as suggested by the official Manual.
|
||||
configure_args="--localstatedir=/nix/var"
|
||||
|
@ -42,6 +42,7 @@ checksum=937779ed2efaa3dec210250635401980acb99a6fea6d7374fbaea78231b36d34
|
|||
pre_configure() {
|
||||
sed -i 's/ucontext/ucontext_t/g' src/libmain/stack.cc
|
||||
sed -i '/^CFLAGS=/d;/^CXXFLAGS=/d' configure
|
||||
sed -i 's/site_perl.*/vendor_perl/g' configure
|
||||
echo "GLOBAL_LDFLAGS += $LDFLAGS" >>mk/lib.mk
|
||||
}
|
||||
post_install() {
|
||||
|
|
Loading…
Add table
Reference in a new issue