Remove pkgs/development/libraries/libnut/prefix.patch and remove

dontConfigure = true
This commit is contained in:
Quag 2023-06-18 21:56:11 -07:00
parent c51debb0a1
commit e01226be9e
2 changed files with 2 additions and 14 deletions

View file

@ -13,9 +13,7 @@ stdenv.mkDerivation rec {
};
sourceRoot = "${src.name}/src/trunk";
patches = [ ./prefix.patch ];
dontConfigure = true;
makeFlags = [ "prefix=$(out)" ];
makeFlags = ["prefix=$(out)"];
installTargets = [
"install-libnut"
"install-nututils"
@ -25,7 +23,7 @@ stdenv.mkDerivation rec {
description = "A library to read/write the NUT video container format";
homepage = "https://git.ffmpeg.org/gitweb/nut.git";
license = licenses.mit;
maintainers = with maintainers; [ quag ];
maintainers = with maintainers; [quag];
platforms = platforms.linux;
};
}

View file

@ -1,10 +0,0 @@
diff --git a/config.mak b/config.mak
index 7d88c34..65aa7b1 100644
--- a/config.mak
+++ b/config.mak
@@ -1,5 +1,3 @@
-PREFIX = /usr/local
-prefix = $(DESTDIR)$(PREFIX)
#CFLAGS += -DDEBUG