aboutsummaryrefslogtreecommitdiff
path: root/lang/python
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1999-07-28 07:54:24 +0000
committerThomas Gellekum <tg@FreeBSD.org>1999-07-28 07:54:24 +0000
commit992725797a275d067304b39c575fb3ac78c0b067 (patch)
tree82fb5bf2fad463957d9667f17e4e347446a1c1b5 /lang/python
parent6177386e0ee9184c2c3d98451ae525be44d2d859 (diff)
downloadports-992725797a275d067304b39c575fb3ac78c0b067.tar.gz
ports-992725797a275d067304b39c575fb3ac78c0b067.zip
Add the SHA module to the build.
Notes
Notes: svn path=/head/; revision=20371
Diffstat (limited to 'lang/python')
-rw-r--r--lang/python/files/Setup8
-rw-r--r--lang/python/pkg-plist1
2 files changed, 8 insertions, 1 deletions
diff --git a/lang/python/files/Setup b/lang/python/files/Setup
index 5eacd6f2b60f..ec3a6be9631a 100644
--- a/lang/python/files/Setup
+++ b/lang/python/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/python/pkg-plist b/lang/python/pkg-plist
index 9ddb96d661df..2360c6ba0f0d 100644
--- a/lang/python/pkg-plist
+++ b/lang/python/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