aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/tkpng
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-02-06 05:05:28 +0800
committermarino <marino@FreeBSD.org>2014-02-06 05:05:28 +0800
commitd74d2aff3e1d48ae611abd896a9198ba33fec369 (patch)
tree7db89a192d31e3c8d166213d334b9659a5ef9f52 /graphics/tkpng
parent58919b74bb39fe2c481f2b442db67e02f2a731b9 (diff)
downloadfreebsd-ports-gnome-d74d2aff3e1d48ae611abd896a9198ba33fec369.tar.gz
freebsd-ports-gnome-d74d2aff3e1d48ae611abd896a9198ba33fec369.tar.zst
freebsd-ports-gnome-d74d2aff3e1d48ae611abd896a9198ba33fec369.zip
graphics/tkpng: Add dragonfly support to configure script
Diffstat (limited to 'graphics/tkpng')
-rw-r--r--graphics/tkpng/files/patch-configure20
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/tkpng/files/patch-configure b/graphics/tkpng/files/patch-configure
new file mode 100644
index 000000000000..a1d0854f7842
--- /dev/null
+++ b/graphics/tkpng/files/patch-configure
@@ -0,0 +1,20 @@
+--- configure.orig 2008-03-26 01:36:50.000000000 +0000
++++ configure
+@@ -8714,7 +8714,7 @@ fi
+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a'
+ TCL_LIB_VERSIONS_OK=nodots
+ ;;
+- NetBSD-*|FreeBSD-*)
++ NetBSD-*|DragonFly-*|FreeBSD-*)
+ # FreeBSD 3.* and greater have ELF.
+ # NetBSD 2.* has ELF and can use 'cc -shared' to build shared libs
+ SHLIB_CFLAGS="-fPIC"
+@@ -9622,7 +9622,7 @@ fi
+ AIX-*) ;;
+ BSD/OS*) ;;
+ IRIX*) ;;
+- NetBSD-*|FreeBSD-*) ;;
++ NetBSD-*|DragonFly|FreeBSD-*) ;;
+ Darwin-*) ;;
+ SCO_SV-3.2*) ;;
+ *) SHLIB_CFLAGS="-fPIC" ;;