summaryrefslogtreecommitdiff
path: root/print/ghostscript-agpl/patches/patch-configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'print/ghostscript-agpl/patches/patch-configure.ac')
-rw-r--r--print/ghostscript-agpl/patches/patch-configure.ac15
1 files changed, 15 insertions, 0 deletions
diff --git a/print/ghostscript-agpl/patches/patch-configure.ac b/print/ghostscript-agpl/patches/patch-configure.ac
new file mode 100644
index 00000000000..c5adee84d28
--- /dev/null
+++ b/print/ghostscript-agpl/patches/patch-configure.ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure.ac,v 1.1 2013/03/16 22:25:21 dholland Exp $
+
+See patch-ah (configure)
+
+--- base/configure.ac.orig 2011-08-05 20:12:20.000000000 +0900
++++ base/configure.ac 2011-08-22 19:10:30.000000000 +0900
+@@ -514,7 +514,7 @@
+ fi
+
+ if test x$with_libpaper != xno; then
+- LIBS="$LIBS -lpaper"
++ LIBS="$LIBS -L${LPLIBDIR} -Wl,-R${LPLIBDIR} -lpaper"
+ AC_DEFINE(USE_LIBPAPER, 1, [Using libpaper])
+ CFLAGS="$CFLAGS -DUSE_LIBPAPER"
+ fi