Ticket #42599: patch-Makefile.diff
File patch-Makefile.diff, 664 bytes (added by schmurtz_macport@…, 11 years ago) |
---|
-
Makefile
old new 8 8 DESTDIR ?= /usr/local 9 9 10 10 VERSION := $(shell pwd | sed s/.*tools-//) 11 CFLAGS := $(CFLAGS) -DVERSION=\"$(VERSION)\" $(PCSC_CFLAGS)12 LDLIBS := $(PCSC_LDLIBS)11 #CFLAGS := $(CFLAGS) -DVERSION=\"$(VERSION)\" $(PCSC_CFLAGS) 12 #LDLIBS := $(PCSC_LDLIBS) 13 13 # On xBSD systems use 14 14 #LDLIBS = -lc_r $(PCSC_LDLIBS) 15 15 # on MacOSX 16 #CFLAGS= -Wall -O2 -DVERSION=\"$(VERSION)\"17 #LDLIBS= -framework PCSC16 override CFLAGS += -Wall -O2 -DVERSION=\"$(VERSION)\" 17 override LDLIBS += -framework PCSC 18 18 19 19 BIN = pcsc_scan 20 20 BIN_SCRIPT = ATR_analysis gscriptor scriptor