openbsd-ports/security/chntpw/patches/patch-Makefile
ian 71b96d926e Import chntpw, for resetting your M$Windows-NT/XP/... password under *Nix.
Useful now that NTFS is enabled by default. Tested by several. OK merdely@.  
Prodded by "Jiri B" who submitted a similar port.
2010-11-04 21:59:20 +00:00

22 lines
558 B
Plaintext

$OpenBSD: patch-Makefile,v 1.1.1.1 2010/11/04 21:59:20 ian Exp $
--- Makefile.orig Sun Jun 27 15:50:13 2010
+++ Makefile Wed Nov 3 21:52:09 2010
@@ -10,15 +10,10 @@
OSSLPATH=/usr
OSSLINC=$(OSSLPATH)/include
-CC=gcc
+CC?=gcc
-# Force 32 bit
-CFLAGS= -DUSEOPENSSL -g -I. -I$(OSSLINC) -Wall -m32
+CFLAGS+= -DUSEOPENSSL -g -I. -Wall
OSSLLIB=$(OSSLPATH)/lib
-
-# 64 bit if default for compiler setup
-#CFLAGS= -DUSEOPENSSL -g -I. -I$(OSSLINC) -Wall
-#OSSLLIB=$(OSSLPATH)/lib64
# This is to link with whatever we have, SSL crypto lib we put in static