mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
sysutils/passwordsafe: fix build on non-x86
This commit is contained in:
parent
697c9f20b2
commit
c93d490f1f
1 changed files with 8 additions and 3 deletions
|
@ -8,9 +8,6 @@ WWW= https://pwsafe.org
|
|||
|
||||
LICENSE= ART20
|
||||
|
||||
NOT_FOR_ARCHS= aarch64 armv6 armv7
|
||||
NOT_FOR_ARCHS_REASON= Cannot determine whether the target CPU is big or little endian - please fix PwsPlatform.h
|
||||
|
||||
LIB_DEPENDS= libcurl.so:ftp/curl \
|
||||
libuuid.so:misc/e2fsprogs-libuuid \
|
||||
libxerces-c.so:textproc/xerces-c3 \
|
||||
|
@ -46,6 +43,14 @@ ALL_TARGET= unicoderelease
|
|||
|
||||
PORTSCOUT= limit=^1\.
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${ARCH} == powerpc || ${ARCH} == powerpc64
|
||||
CXXFLAGS+= -DPWS_BIG_ENDIAN
|
||||
.else
|
||||
CXXFLAGS+= -DPWS_LITTLE_ENDIAN
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
. for f in Makefile.freebsd help/Makefile.freebsd src/os/unix/Makefile \
|
||||
src/os/unix/dir.cpp src/ui/wxWidgets/Makefile
|
||||
|
|
Loading…
Add table
Reference in a new issue