diff options
author | dinoex <dinoex@FreeBSD.org> | 2003-02-23 19:12:06 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2003-02-23 19:12:06 +0800 |
commit | d66f68bad8ea2f7d48ee20acb887de637da496c2 (patch) | |
tree | d0fea146e997085c5040ef35f39cdd34a6a5bc8f /security/gnupg-idea/Makefile | |
parent | 4a8fb01898b8de77854437d3721f128b34564ccd (diff) | |
download | freebsd-ports-gnome-d66f68bad8ea2f7d48ee20acb887de637da496c2.tar.gz freebsd-ports-gnome-d66f68bad8ea2f7d48ee20acb887de637da496c2.tar.zst freebsd-ports-gnome-d66f68bad8ea2f7d48ee20acb887de637da496c2.zip |
- remove checks for USA_RESIDENT as requested by kris
MAKE_IDEA and WITHOUT_IDEA controls now the build.
Diffstat (limited to 'security/gnupg-idea/Makefile')
-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 |