base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / ch / chntpw / 00-chntpw-build-arch-autodetect.patch
blobcd130affa6c486ce8abfd8a60ff622eb2f90f9d9
1 --- chntpw-140201.orig/Makefile 2014-02-01 17:54:37.000000000 +0100
2 +++ chntpw-140201/Makefile 2022-04-21 00:14:45.000000000 +0200
3 @@ -6,24 +6,7 @@
4 # See INSTALL for more info.
7 -#SSLPATH=/usr/local/ssl
8 -OSSLPATH=/usr
9 -OSSLINC=$(OSSLPATH)/include
11 -CC=gcc
13 -# Force 32 bit
14 -CFLAGS= -DUSEOPENSSL -g -I. -I$(OSSLINC) -Wall -m32
15 -OSSLLIB=$(OSSLPATH)/lib
17 -# 64 bit if default for compiler setup
18 -#CFLAGS= -DUSEOPENSSL -g -I. -I$(OSSLINC) -Wall
19 -#OSSLLIB=$(OSSLPATH)/lib64
22 -# This is to link with whatever we have, SSL crypto lib we put in static
23 -#LIBS=-L$(OSSLLIB) $(OSSLLIB)/libcrypto.a
24 -LIBS=-L$(OSSLLIB)
25 +CFLAGS= -DUSEOPENSSL -g -I. -Wall
28 all: chntpw chntpw.static cpnt reged reged.static samusrgrp samusrgrp.static sampasswd sampasswd.static