[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / security / pgp2

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /pkgsrc/security/pgp2/Makefile between version 1.45 and 1.46

version 1.45, 2005/10/08 22:42:08 version 1.46, 2005/12/01 20:17:48
Line 11  COMMENT= Public-key encryption and digit
Line 11  COMMENT= Public-key encryption and digit
   
 WRKSRC=         ${WRKDIR}/src  WRKSRC=         ${WRKDIR}/src
 CRYPTO=         yes  CRYPTO=         yes
 USE_RSAREF2=    NO  
   
 # use of IDEA as crypto function  # use of IDEA as crypto function
 LICENCE=        fee-based-commercial-use  LICENCE=        fee-based-commercial-use
   
 .include "../../mk/bsd.prefs.mk"  .include "options.mk"
   
 .if defined(USE_RSAREF2) && ${USE_RSAREF2} == YES  
 PKGNAME=        pgp-2.6.3a  
 DEPENDS+=       rsaref-2.0p3:../../security/rsaref  
 RSAINC=         -I${PREFIX}/include  
 RSALIBS=        ${COMPILER_RPATH_FLAG}${PREFIX}/lib -L${PREFIX}/lib -lrsaref  
 RSAOBJS=        rsaglue2.o  
 CFLAGS=         -DUSA  
 .else  
 PKGNAME=        pgp-2.6.3ia  
 RSAINC=  
 RSALIBS=  
 RSAOBJS=        rsaglue1.o  
 CFLAGS=  
 .endif  
   
 FIX_RPATH+=     RSALIBS  .include "../../mk/bsd.prefs.mk"
   
 PGPLIB=         ${PREFIX}/share/pgp  PGPLIB=         ${PREFIX}/share/pgp
 CFLAGS+=        -DPGP_SYSTEM_DIR="\"${PGPLIB}/\""  CFLAGS+=        -DPGP_SYSTEM_DIR="\"${PGPLIB}/\""
Line 41  CFLAGS+= -DPGP_SYSTEM_DIR="\"${PGPLIB}/\
Line 25  CFLAGS+= -DPGP_SYSTEM_DIR="\"${PGPLIB}/\
 .if (${MACHINE_ARCH} == "i386")  .if (${MACHINE_ARCH} == "i386")
 OBJS_EXT=       _80386.o _zmatch.o  OBJS_EXT=       _80386.o _zmatch.o
 ASMFLAG=        -DASM  ASMFLAG=        -DASM
 .elif (${MACHINE_ARCH} == "m68k")  
 .ifdef M68060  
 OBJS_EXT=  
 ASMFLAG=        -m68060 -DPORTABLE -DMPORTABLE  
 .else  
 OBJS_EXT=       mc68020.o  
 ASMFLAG=  
 .endif  
 .elif (${MACHINE_ARCH} == "sparc") && (${OPSYS} != SunOS)  .elif (${MACHINE_ARCH} == "sparc") && (${OPSYS} != SunOS)
 OBJS_EXT=       sparc.o  OBJS_EXT=       sparc.o
 ASMFLAG=  ASMFLAG=
Line 63  ASMFLAG= -DPORTABLE -DMPORTABLE
Line 39  ASMFLAG= -DPORTABLE -DMPORTABLE
 CFLAGS+=        -DHIGHFIRST  CFLAGS+=        -DHIGHFIRST
 .endif  .endif
   
 BUILD_DEFS+=    USE_RSAREF2 M68060 ASMFLAG  BUILD_DEFS+=    ASMFLAG
   
 INSTALLATION_DIRS=      bin man/man1  INSTALLATION_DIRS=      bin man/man1
   
 .if !defined(USE_RSAREF2) || ${USE_RSAREF2} != YES && ${USE_RSAREF2} != NO  
 pre-fetch:  
         @${ECHO} ""  
         @${ECHO} "The variable USE_RSAREF2 must be set to either YES or NO"  
         @${ECHO} "in order to build this package.  USA residents that are"  
         @${ECHO} "no licensees of the RSA algorithm MUST set this variable"  
         @${ECHO} "to YES.  Users outside the USA MUST set this variable to"  
         @${ECHO} "NO.  Licensees may choose -- NO is faster."  
         @${FALSE}  
 .endif  
   
 post-extract:  post-extract:
         cd ${WRKDIR} && ${TAR} xf pgp263ii.tar && ${RM} -f pgp263ii.tar          cd ${WRKDIR} && ${TAR} xf pgp263ii.tar && ${RM} -f pgp263ii.tar
   

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46

CVSweb <webmaster@jp.NetBSD.org>