aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1999-07-28 15:54:24 +0800
committertg <tg@FreeBSD.org>1999-07-28 15:54:24 +0800
commitdb83ddde5c41f1c9c23b12b132a367bbd67965bf (patch)
treebc268efa4d482afd4e860f20974f651a6965fef6 /lang/python
parent571ff12bdc83d7b9831588ce0e6c1e2b1a9066a3 (diff)
downloadfreebsd-ports-gnome-db83ddde5c41f1c9c23b12b132a367bbd67965bf.tar.gz
freebsd-ports-gnome-db83ddde5c41f1c9c23b12b132a367bbd67965bf.tar.zst
freebsd-ports-gnome-db83ddde5c41f1c9c23b12b132a367bbd67965bf.zip
Add the SHA module to the build.
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