summaryrefslogtreecommitdiff
path: root/security/pgp2
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2002-08-14 02:39:30 +0000
committergrant <grant@pkgsrc.org>2002-08-14 02:39:30 +0000
commit7ad20a23f663e38074f3860825ece81d8cf46de8 (patch)
treee2150294ee34a810083ed09a1964e86480ad8c9d /security/pgp2
parentaf823178c5f723a1deba912d97aaf3687a36cc35 (diff)
downloadpkgsrc-7ad20a23f663e38074f3860825ece81d8cf46de8.tar.gz
fix CFLAGS on big endian machines.
Diffstat (limited to 'security/pgp2')
-rw-r--r--security/pgp2/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/security/pgp2/Makefile b/security/pgp2/Makefile
index e02a4ea311c..34802750e8f 100644
--- a/security/pgp2/Makefile
+++ b/security/pgp2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2001/02/25 04:18:12 hubertf Exp $
+# $NetBSD: Makefile,v 1.31 2002/08/14 02:39:30 grant Exp $
# FreeBSD Id: Makefile,v 1.20 1997/08/27 13:06:01 ache Exp
#
@@ -57,6 +57,12 @@ OBJS_EXT=
ASMFLAG= -DPORTABLE -DMPORTABLE
.endif
+.include "../../mk/endian.mk"
+
+.if (${MACHINE_ENDIAN} == "big")
+CFLAGS+= -DHIGHFIRST
+.endif
+
BUILD_DEFS+= USE_RSAREF2 M68060 ASMFLAG
.if !defined(USE_RSAREF2) || ${USE_RSAREF2} != YES && ${USE_RSAREF2} != NO