summaryrefslogtreecommitdiff
path: root/print/ghostscript9-agpl/files/patch-base-configure.ac
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2013-04-28 16:59:29 +0000
committerHiroki Sato <hrs@FreeBSD.org>2013-04-28 16:59:29 +0000
commited102396a2a65686bf4158350548a5d0c1ed5f7c (patch)
treead6f264f7c49359ea11259beec14fcbe5fe942a0 /print/ghostscript9-agpl/files/patch-base-configure.ac
parentTo avoid firefox-remote overwriting options for firefox, set PORTNAME to (diff)
Add print/ghostscript9-agpl{,-nox11}. Ghostscript 9.x has released under
GNU Affero GPL version 3 since 9.07 while print/ghostscript9 (version 9.06) was under GNU GPL version 3. The difference between the two licenses is whether SaaS loophole is closed or not. For more detail, see http://www.gnu.org/licenses/why-affero-gpl.html.
Notes
Notes: svn path=/head/; revision=316733
Diffstat (limited to 'print/ghostscript9-agpl/files/patch-base-configure.ac')
-rw-r--r--print/ghostscript9-agpl/files/patch-base-configure.ac25
1 files changed, 25 insertions, 0 deletions
diff --git a/print/ghostscript9-agpl/files/patch-base-configure.ac b/print/ghostscript9-agpl/files/patch-base-configure.ac
new file mode 100644
index 000000000000..1d3d25083f83
--- /dev/null
+++ b/print/ghostscript9-agpl/files/patch-base-configure.ac
@@ -0,0 +1,25 @@
+--- base/configure.ac.orig 2012-02-08 17:48:48.000000000 +0900
++++ base/configure.ac 2012-02-13 00:31:19.000000000 +0900
+@@ -1244,7 +1244,7 @@
+ X_DEVS=""
+ X_LIBS=""
+
+-if test x$no_x != xyes; then
++if test x$with_x != xno; then
+ if test "$x_libraries" = "/usr/lib"; then
+ echo "Ignoring X library directory \"$x_libraries\" requested by configure."
+ x_libraries="NONE"
+@@ -1637,7 +1637,12 @@
+ DBG_CFLAGS="$DYNAMIC_CFLAGS $DBG_CFLAGS"
+ ;;
+ *BSD)
+- DYNAMIC_DEVS="\$(GLOBJDIR)/X11.so"
++ if test "x$X_DEVS" != x; then
++ DYNAMIC_DEVS="\$(GLOBJDIR)/X11.so"
++ INSTALL_SHARED="install-shared"
++ else
++ DYNAMIC_DEVS=""
++ fi
+ DYNAMIC_FLAGS="-DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\\\"\$(gssharedir)\\\""
+ X11_DEVS=""
+ OPT_CFLAGS="$DYNAMIC_CFLAGS $OPT_CFLAGS"