aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorsf <sf@FreeBSD.org>2002-01-07 04:41:44 +0800
committersf <sf@FreeBSD.org>2002-01-07 04:41:44 +0800
commitaddaf19c723958ee97ad4084203b9607dcc2c8aa (patch)
tree25282a1931c96f5ba45e8582184115a51a477f70 /devel
parent6eb6157702f76a0b50ffa935404da2430e257fb0 (diff)
downloadfreebsd-ports-gnome-addaf19c723958ee97ad4084203b9607dcc2c8aa.tar.gz
freebsd-ports-gnome-addaf19c723958ee97ad4084203b9607dcc2c8aa.tar.zst
freebsd-ports-gnome-addaf19c723958ee97ad4084203b9607dcc2c8aa.zip
o don't grok ${FILESDIR} for Wraphelp.c.
This means bento will not ship XDM-AUTHORIZATION-1 enabled package. o fetch Wraphelp.c for non-US residents.
Diffstat (limited to 'devel')
-rw-r--r--devel/imake-4/Makefile23
-rw-r--r--devel/imake-4/distinfo1
2 files changed, 16 insertions, 8 deletions
diff --git a/devel/imake-4/Makefile b/devel/imake-4/Makefile
index c330427426f4..8b32da607a8e 100644
--- a/devel/imake-4/Makefile
+++ b/devel/imake-4/Makefile
@@ -116,17 +116,24 @@ ExtendedInputDevices?= YES
# InstallXserverSetUID=NO : use Xwrapper.
# End of XFree86 configrations
-.include <bsd.port.pre.mk>
-
.if ${HasXdmAuth} == YES
.if defined(USA_RESIDENT) && ${USA_RESIDENT} == YES
-.if !exists(${DISTDIR}/${DIST_SUBDIR}/Wraphelp.c) &&\
- !exists(${FILESDIR}/Wraphelp.c)
+.if !exists(${DISTDIR}/${DIST_SUBDIR}/Wraphelp.c)
pre-everything::
@${ECHO_MSG} "You don't have Wraphelp.c: HasXdmAuth disabled."
HasXdmAuth= NO
-.endif
-.endif
-.endif
+.else
+pre-everything::
+ @${ECHO_MSG} "Assuming that you have fetched a USA-Legal Wraphelp.c."
+.endif # ! having Wraphelp.c
+.else
+MASTER_SITES+= ftp://psych.psy.uq.oz.au/pub/X11R5/ \
+ ftp://ftp.internat.freebsd.org/pub/FreeBSD/X11-Crypto/ \
+ ftp://ftp3.za.freebsd.org/pub/FreeBSD/X11-Crypto/
+EXTRACT_ONLY= X410src-1.tgz
+DISTFILES+= Wraphelp.c
+IGNOREFILES= Wraphelp.c
+.endif # USA_RESIDENT
+.endif # HasXdmAuth
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/imake-4/distinfo b/devel/imake-4/distinfo
index e4b5e84b9421..942f997451ad 100644
--- a/devel/imake-4/distinfo
+++ b/devel/imake-4/distinfo
@@ -1 +1,2 @@
MD5 (xc/X410src-1.tgz) = 2d4709f7106a1d65c175be445a3d3c32
+MD5 (xc/Wraphelp.c) = IGNORE