aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorchuckr <chuckr@FreeBSD.org>1999-11-23 13:57:01 +0800
committerchuckr <chuckr@FreeBSD.org>1999-11-23 13:57:01 +0800
commit4ff46324ad95b9b7fd48e76bfa06b6d4b23ffc65 (patch)
treeec4a7cd94d34e3a791bc67f5c0be482c948d7daa /graphics
parentc1d7093ec12e80117e1ca9063500211549f2e3b1 (diff)
downloadfreebsd-ports-gnome-4ff46324ad95b9b7fd48e76bfa06b6d4b23ffc65.tar.gz
freebsd-ports-gnome-4ff46324ad95b9b7fd48e76bfa06b6d4b23ffc65.tar.zst
freebsd-ports-gnome-4ff46324ad95b9b7fd48e76bfa06b6d4b23ffc65.zip
Fix a bug in USA_RESIDENT handling.
Kindly Pointed to by: David O'Brien
Diffstat (limited to 'graphics')
-rw-r--r--graphics/xpdf/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/xpdf/Makefile b/graphics/xpdf/Makefile
index c70aedc33ffe..b71b74c0d228 100644
--- a/graphics/xpdf/Makefile
+++ b/graphics/xpdf/Makefile
@@ -14,10 +14,12 @@ MASTER_SITE_SUBDIR=support/xpdf
EXTRACT_SUFX= .tgz
.if defined(USA_RESIDENT) && !defined(PACKAGE_BUILDING)
+.if ${USA_RESIDENT} == YES || ${USA_RESIDENT} == yes
PATCH_SITES= http://www.fefe.de/
PATCHFILES= xpdf-0.90-fefe-diff.gz
PATCH_DIST_STRIP= -p1
.endif
+.endif
MAINTAINER= chuckr@freebsd.org
@@ -25,8 +27,10 @@ LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm \
t1.9:${PORTSDIR}/devel/t1lib
.if defined(USA_RESIDENT) && !defined(PACKAGE_BUILDING)
+.if ${USA_RESIDENT} == YES || ${USA_RESIDENT} == yes
RESTRICTED= "Contains cryptography"
.endif
+.endif
USE_XLIB= yes
USE_X_PREFIX= yes
USE_AUTOCONF= yes