diff options
author | grant <grant> | 2002-08-14 02:39:30 +0000 |
---|---|---|
committer | grant <grant> | 2002-08-14 02:39:30 +0000 |
commit | 4280121620cc633039c56084515ff32829335e06 (patch) | |
tree | e2150294ee34a810083ed09a1964e86480ad8c9d | |
parent | 7caa0b7a176ce61483b55cf54d51bfe40f6674e4 (diff) | |
download | pkgsrc-4280121620cc633039c56084515ff32829335e06.tar.gz |
fix CFLAGS on big endian machines.
-rw-r--r-- | security/pgp2/Makefile | 8 |
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 |