diff options
| author | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2015-01-21 13:40:24 +0000 |
|---|---|---|
| committer | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2015-01-21 13:40:24 +0000 |
| commit | b7ec4f61830ee08f4987d34baf45a8ca1117f671 (patch) | |
| tree | 269301c4e3bfc3ac6da81d2046fa612797f19d91 /sysutils/pesign/files/patch-Make.defaults | |
| parent | Bump PORTREVISION after r377564. (diff) | |
New port: sysutils/pesign
Signing tool for PE-COFF binaries, hopefully at least vaguely compliant
with the PE and Authenticode specifications.
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sysutils/pesign/files/patch-Make.defaults')
| -rw-r--r-- | sysutils/pesign/files/patch-Make.defaults | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/sysutils/pesign/files/patch-Make.defaults b/sysutils/pesign/files/patch-Make.defaults new file mode 100644 index 000000000000..fe96dad122d0 --- /dev/null +++ b/sysutils/pesign/files/patch-Make.defaults @@ -0,0 +1,37 @@ +--- Make.defaults.orig 2014-10-24 21:51:06.000000000 +0200 ++++ Make.defaults 2015-01-16 10:34:32.000000000 +0100 +@@ -4,22 +4,24 @@ PREFIX := /usr + HOSTARCH = $(shell uname -m | sed s,i[3456789]86,ia32,) + ARCH := $(shell uname -m | sed s,i[3456789]86,ia32,) + INCDIR = -I$(TOPDIR)/include +-CPPFLAGS = -DCONFIG_$(ARCH) +-CFLAGS = -g -O0 ++CPPFLAGS += -DCONFIG_$(ARCH) ++CFLAGS += -g -O0 + BUILDFLAGS := $(CFLAGS) $(ARCH3264) -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants --std=gnu99 -D_GNU_SOURCE -Wno-unused-result -Wno-unused-function + ASFLAGS = $(ARCH3264) + LDFLAGS = -nostdlib + CCLDFLAGS = -shared + INSTALL = install +-# XXX this is broken +-bindir = /usr/bin/ + +-CC = $(bindir)gcc +-AS = $(bindir)as +-LD = $(bindir)ld.bfd +-AR = $(bindir)ar +-RANLIB = $(bindir)ranlib +-OBJCOPY = $(bindir)objcopy ++CC = $(prefix)%%CC%% ++AS = $(prefix)as ++LD = $(prefix)ld.bfd ++AR = $(prefix)ar ++RANLIB = $(prefix)ranlib ++OBJCOPY = $(prefix)objcopy ++ ++ifeq ($(ARCH),amd64) ++ ARCH = x86_64 ++endif + + ifeq ($(ARCH),ia64) + CFLAGS += -mfixed-range=f32-f127 |
