mirror of
https://git.freebsd.org/ports.git
synced 2025-06-12 16:20:33 -04:00
Build devel/p4 and devel/p4api from source rather than use the prebuilt binary downloads. This fixes p4api on FreeBSD 12. The ports originally used the binaries because source wasn't available until a few years ago. By happy accident, building from source also makes the ports available on non-Intel architectures. PR: 225613 Reviewed by: brd Approved by: brd (ports) Sponsored by: Spectra Logic Corp Differential Revision: https://reviews.freebsd.org/D14162
28 lines
682 B
Text
28 lines
682 B
Text
--- Jamrules.orig 2018-02-01 21:40:54 UTC
|
|
+++ Jamrules
|
|
@@ -449,12 +449,11 @@
|
|
# P4BIN is set to ../p4-bin (relative to P4)
|
|
|
|
SubDir AllP4 p4 ; # where we are
|
|
- SubDir AllP4 p4-bin ; # where we want to be
|
|
+ SubDir AllP4 p4 p4-bin ; # where we want to be
|
|
SubDir P4BIN ; # name is that
|
|
SubDir AllP4 p4 ; # back to where we started
|
|
|
|
EXEC_SUB_TOKENS =
|
|
- $(OS:L)$(OSVER:EL)$(OSPLAT:EL)
|
|
$(BUILD)
|
|
$(TYPE:L) ;
|
|
|
|
@@ -931,11 +930,6 @@
|
|
OPTIM += -Wno-parentheses -Wno-switch -fwrapv ;
|
|
|
|
_mflags = ;
|
|
- switch $(OSPLAT:U)
|
|
- {
|
|
- case X86 : _mflags = -m32 ;
|
|
- case X86_64 : _mflags = -m64 ;
|
|
- }
|
|
|
|
$(GENFLAGS) += $(_mflags) -pipe ;
|
|
LINKFLAGS += $(_mflags) ;
|