diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2003-02-23 11:12:06 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2003-02-23 11:12:06 +0000 |
commit | 7e6133a5c3e70bf1987bf5b6f7e152c8292b4f97 (patch) | |
tree | d6fff016b8855b9d7db2cc2d624c545de4b520b9 /security | |
parent | echo -> ${ECHO_CMD}. (diff) |
- remove checks for USA_RESIDENT as requested by kris
MAKE_IDEA and WITHOUT_IDEA controls now the build.
Notes
Notes:
svn path=/head/; revision=76257
Diffstat (limited to 'security')
-rw-r--r-- | security/gnupg-idea/Makefile | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/security/gnupg-idea/Makefile b/security/gnupg-idea/Makefile index e6041df3c45c..2891f6a020c7 100644 --- a/security/gnupg-idea/Makefile +++ b/security/gnupg-idea/Makefile @@ -24,20 +24,16 @@ RUN_DEPENDS= ${LOCALBASE}/bin/gpg:${PORTSDIR}/security/gnupg EXTRACT_AFTER_ARGS= > ${WRKSRC}/idea.c RESTRICTED= "IDEA is Patented in the USA and many European countries" +NO_PACKAGE= ${RESTRICTED} NO_WRKSUBDIR= yes CFLAGS+= -shared -fPIC -DIS_MODULE CFLAGS+= -Wall -Wcast-align -Wshadow -Wstrict-prototypes PLIST= ${WRKDIR}/.PLIST.more -.if !defined(USA_RESIDENT) || ${USA_RESIDENT} != YES && ${USA_RESIDENT} != NO -NO_PACKAGE= You must set variable USA_RESIDENT to YES or NO - -.include <bsd.port.mk> - -.elif defined(USA_RESIDENT) +.include <bsd.port.pre.mk> -.if ${USA_RESIDENT} == NO || defined(MAKE_IDEA) +.if defined(MAKE_IDEA) && !defined(WITHOUT_IDEA) CONTRIB= idea rsa DISTFILES= idea.c.gz:idea rsa.c EXTRACT_ONLY= idea.c.gz @@ -50,8 +46,6 @@ pre-fetch: @${ECHO_MSG} You must set variable MAKE_IDEA to YES, only rsa is build now. .endif -.include <bsd.port.pre.mk> - pre-extract: @${SED} -e s!%%PREFIX%%!${PREFIX}!g ${PKGMESSAGE} @@ -80,7 +74,3 @@ do-install: .endfor .include <bsd.port.post.mk> - -.else - -.endif |