summaryrefslogtreecommitdiffstats
path: root/lang/python21
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1999-07-28 07:54:24 +0000
committertg <tg@FreeBSD.org>1999-07-28 07:54:24 +0000
commitdb83ddde5c41f1c9c23b12b132a367bbd67965bf (patch)
treebc268efa4d482afd4e860f20974f651a6965fef6 /lang/python21
parent571ff12bdc83d7b9831588ce0e6c1e2b1a9066a3 (diff)
downloadFreeBSD-ports-db83ddde5c41f1c9c23b12b132a367bbd67965bf.zip
FreeBSD-ports-db83ddde5c41f1c9c23b12b132a367bbd67965bf.tar.gz
Add the SHA module to the build.
Diffstat (limited to 'lang/python21')
-rw-r--r--lang/python21/files/Setup8
-rw-r--r--lang/python21/pkg-plist1
2 files changed, 8 insertions, 1 deletions
diff --git a/lang/python21/files/Setup b/lang/python21/files/Setup
index 5eacd6f..ec3a6be 100644
--- a/lang/python21/files/Setup
+++ b/lang/python21/files/Setup
@@ -90,7 +90,8 @@ signal signalmodule.c # signal(2)
# The SGI specific GL module:
-#gl glmodule.c -lgl -lX11 # Graphics Library -- SGI only
+GLHACK=-Dclear=__GLclear
+#gl glmodule.c cgensupport.c -I$(srcdir) $(GLHACK) -lgl -lX11
# The thread module is now automatically enabled, see Setup.thread.
@@ -193,6 +194,11 @@ rgbimg rgbimgmodule.c # Read SGI RGB image files (but coded portably)
md5 md5module.c md5c.c
+# The sha module implements the SHA checksum algorithm.
+# (NIST's Secure Hash Algorithm.)
+sha shamodule.c
+
+
# The mpz module interfaces to the GNU Multiple Precision library.
# You need to ftp the GNU MP library.
# The GMP variable must point to the GMP source directory.
diff --git a/lang/python21/pkg-plist b/lang/python21/pkg-plist
index 9ddb96d..2360c6b 100644
--- a/lang/python21/pkg-plist
+++ b/lang/python21/pkg-plist
@@ -269,6 +269,7 @@ lib/python1.5/lib-dynload/parsermodule.so
lib/python1.5/lib-dynload/resource.so
lib/python1.5/lib-dynload/rgbimgmodule.so
lib/python1.5/lib-dynload/rotormodule.so
+lib/python1.5/lib-dynload/shamodule.so
lib/python1.5/lib-dynload/syslogmodule.so
lib/python1.5/lib-dynload/termios.so
lib/python1.5/lib-dynload/timingmodule.so
OpenPOWER on IntegriCloud