1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00
freebsd-ports/print/pdflib/files/patch-configure
John Marino c29ec91192 print/pdflib: Make DragonFly respect Perl's LDDFLAGS too
This is required for upcoming Perl changes.  I just duplicated the FreeBSD
line as a case option rather than add two more patterns -- mainly for
consistency as each platform got their own line in other cases.

Follows:	r373971
2014-12-10 17:44:51 +00:00

22 lines
767 B
Plaintext

--- configure.orig 2012-06-06 11:58:57 UTC
+++ configure
@@ -19695,6 +19695,8 @@ echo "${ECHO_T}could not figure out how
aix*|AIX*) PERLLINK="-L$PERLINCLUDE -lperl $PERLLINK";;
osf1*|OSF1*) PERLLINK="-L$PERLINCLUDE -lperl $PERLLINK";;
darwin|Darwin*) PERLLINK="-L$PERLINCLUDE -lperl $PERLLINK";;
+ dragonfly|DragonFly*) PERLLINK=`perl -V:lddlflags|sed -e "s|.*=\'\(.*\)\';|\1|"`;;
+ freebsd|FreeBSD*) PERLLINK=`perl -V:lddlflags|sed -e "s|.*=\'\(.*\)\';|\1|"`;;
*) ;;
esac
@@ -21408,6 +21410,9 @@ fi
if test "$WITH_CXX" = "yes" ; then
BINDINGS="$BINDINGS cpp"
fi
+if test "$WITH_PERL" = "yes" ; then
+ BINDINGS="$BINDINGS perl"
+fi
if test "$WITH_JAVA" = "yes" ; then
BINDINGS="$BINDINGS java"
PLOPBINDINGS="$PLOPBINDINGS java"