diff options
Diffstat (limited to 'sci-chemistry/ccp4/files/add-xdl-libdir.patch')
-rw-r--r-- | sci-chemistry/ccp4/files/add-xdl-libdir.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/sci-chemistry/ccp4/files/add-xdl-libdir.patch b/sci-chemistry/ccp4/files/add-xdl-libdir.patch new file mode 100644 index 0000000..fbb5dad --- /dev/null +++ b/sci-chemistry/ccp4/files/add-xdl-libdir.patch @@ -0,0 +1,29 @@ +--- ccp4-5.99.5.orig/configure 2005-12-05 02:26:38.000000000 -0800 ++++ ccp4-5.99.5 /configure 2005-12-05 02:30:35.000000000 -0800 +@@ -1616,7 +1616,7 @@ + sftools_FLAGS='$XFFLAGS $FOPTIM' \ + lgglib_FLAGS='$XFFLAGS -O0' \ + arp_waters_FLAGS='$XFFLAGS $FOPTIM' "} +- XDL_LIB=${XDL_LIB:-"-L${CCP4_LIB} -lxdl_view"} ++ XDL_LIB=${XDL_LIB:-"-L${CCP4_LIB} -L${CCP4}/x-windows/xdl_view/src -lxdl_view"} + XWIN_LIB=${XWIN_LIB:-"-L/usr/X11R6/lib -lXt -lSM -lX11 -lICE"} + XTYPE=${XTYPE:-"LINUX"} + TIDY=${TIDY:-"rm -f sta*"} +@@ -1752,7 +1752,7 @@ + arp_waters_FLAGS='$XFFLAGS $FOPTIM -fforce-mem' \ + mlphare_FLAGS='$XFFLAGS $FOPTIM -fno-move-all-movables' \ + stereo_FLAGS='$XFFLAGS $FOPTIM -fno-move-all-movables' "} +- XDL_LIB=${XDL_LIB:-"-L${CCP4_LIB} -lxdl_view"} ++ XDL_LIB=${XDL_LIB:-"-L${CCP4_LIB} -L${CCP4}/x-windows/xdl_view/src -lxdl_view"} + XWIN_LIB=${XWIN_LIB:-"-L/usr/X11R6/lib -lXt -lSM -lX11 -lICE"} + XTYPE=${XTYPE:-"LINUX"} + CXX_LIBS=${CXX_LIBS:-"-lstdc++"} +@@ -1871,7 +1871,7 @@ + refmac5_FLAGS='$XFFLAGS $FOPTIM' \ + arp_waters_FLAGS='$XFFLAGS $FOPTIM'\ + distang_FLAGS='$XFFLAGS -O1' "} +- XDL_LIB=${XDL_LIB:-"-L${CCP4_LIB} -lxdl_view"} ++ XDL_LIB=${XDL_LIB:-"-L${CCP4_LIB} -L${CCP4}/x-windows/xdl_view/src -lxdl_view"} + XWIN_LIB=${XWIN_LIB:-"-L/usr/X11R6/lib -lXt -lSM -lX11 -lICE"} + XTYPE=${XTYPE:-"LINUX"} + if test "$shared_lib" = yes; then |