freebsd-ports/graphics/hugin/files/patch-m4_ax_check_panotools.m4
Vasil Dimov a36d3016dc Update graphics/hugin from 0.5 to 0.6.1:
* Change dependency on libpano12 >= 2.8.4
* Hook dependencies on the autotools, we need to recreate the
  autogenerated files because now we have changed the autotools source
  config files (configure.ac etc.) with the hope that our changes will
  be propagated upstream

PR:		ports/108266
Submitted by:	vd
Approved by:	cartola@openit.com.br (maintainer timeout)
2007-02-19 09:47:45 +00:00

20 lines
747 B
Text

--- m4/ax_check_panotools.m4.orig Wed Jan 17 15:30:39 2007
+++ m4/ax_check_panotools.m4 Wed Jan 17 15:31:10 2007
@@ -44,7 +44,7 @@
passed=0;
PANO_OLD_LDFLAGS=$LDFLAGS
PANO_OLD_CPPFLAGS=$CPPFLAGS
- if test "x$HCPU" = 'xamd64' ; then
+ if test "x$HCPU" = 'xamd64' -a "x$HSYS" != 'xfreebsd' ; then
LDFLAGS="$LDFLAGS -L$PANO_HOME/lib64"
else
LDFLAGS="$LDFLAGS -L$PANO_HOME/lib"
@@ -76,7 +76,7 @@
LIB_PANO="-lpano12"
PANO_FLAGS="-DHasPANO"
else
- if test "x$HCPU" = 'xamd64' ; then
+ if test "x$HCPU" = 'xamd64' -a "x$HSYS" != 'xfreebsd' ; then
LIB_PANO="-L$PANO_HOME/lib64 -lpano12"
else
LIB_PANO="-L$PANO_HOME/lib -lpano12"