summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/php80-exif/Makefile11
-rw-r--r--graphics/php80-gd/Makefile13
-rw-r--r--graphics/php80-gd/files/patch-gd.c11
3 files changed, 35 insertions, 0 deletions
diff --git a/graphics/php80-exif/Makefile b/graphics/php80-exif/Makefile
new file mode 100644
index 000000000000..41170b155f1a
--- /dev/null
+++ b/graphics/php80-exif/Makefile
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+CATEGORIES= graphics
+
+MASTERDIR= ${.CURDIR}/../../lang/php80
+
+PKGNAMESUFFIX= -exif
+
+TEST_TARGET= test
+
+.include "${MASTERDIR}/Makefile"
diff --git a/graphics/php80-gd/Makefile b/graphics/php80-gd/Makefile
new file mode 100644
index 000000000000..de2d56a179cf
--- /dev/null
+++ b/graphics/php80-gd/Makefile
@@ -0,0 +1,13 @@
+# $FreeBSD$
+
+CATEGORIES= graphics
+
+MASTERDIR= ${.CURDIR}/../../lang/php80
+
+PKGNAMESUFFIX= -gd
+
+TEST_TARGET= test
+
+.include "${MASTERDIR}/Makefile"
+
+LIB_DEPENDS+= libgd.so:graphics/gd
diff --git a/graphics/php80-gd/files/patch-gd.c b/graphics/php80-gd/files/patch-gd.c
new file mode 100644
index 000000000000..37de5d8772fc
--- /dev/null
+++ b/graphics/php80-gd/files/patch-gd.c
@@ -0,0 +1,11 @@
+--- gd.c.orig 2020-09-29 22:36:51 UTC
++++ gd.c
+@@ -72,7 +72,7 @@ static int le_gd_font;
+ # include FT_FREETYPE_H
+ #endif
+
+-#if defined(HAVE_GD_XPM) && defined(HAVE_GD_BUNDLED)
++#if defined(HAVE_XPM) && defined(HAVE_GD_XPM) && defined(HAVE_GD_BUNDLED)
+ # include "X11/xpm.h"
+ #endif
+